feat(call): integrate call handling and WebSocket support
- Added CallHandler and related services for managing call sessions and participants. - Enhanced WSHandler to support call signaling, including invite, answer, reject, and end functionalities. - Updated router to include call-related routes for history and ICE server retrieval. - Introduced WebRTC configuration in the application settings for call management. - Refactored wire generation to include CallService and CallRepository for improved dependency injection.
This commit is contained in:
@@ -163,6 +163,10 @@ func autoMigrate(db *gorm.DB) error {
|
||||
// 学习资料相关
|
||||
&MaterialSubject{},
|
||||
&MaterialFile{},
|
||||
|
||||
// 通话相关
|
||||
&CallSession{},
|
||||
&CallParticipant{},
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user