mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
webrtc connect with selected video.
This commit is contained in:
@ -391,7 +391,7 @@ func (manager *WebRTCManagerCtx) mediaEngine(videoID string) (*webrtc.MediaEngin
|
||||
// all videos must have the same codec
|
||||
video, ok := manager.capture.Video(videoID)
|
||||
if !ok {
|
||||
return nil, fmt.Errorf("default video track not found")
|
||||
return nil, fmt.Errorf("selected video track not found")
|
||||
}
|
||||
|
||||
videoCodec := video.Codec()
|
||||
|
Reference in New Issue
Block a user