Merge pull request #1384 from kairlec/master

fix webrtc player assert failed because media empty
pull/1400/head
648540858 2024-03-21 17:53:41 +08:00 committed by GitHub
commit 5313922f2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -41,8 +41,8 @@ export default {
zlmsdpUrl: url,// zlmsdpUrl: url,//
simulecast: false, simulecast: false,
useCamera: false, useCamera: false,
audioEnable: false, audioEnable: true,
videoEnable: false, videoEnable: true,
recvOnly: true, recvOnly: true,
}) })
webrtcPlayer.on(ZLMRTCClient.Events.WEBRTC_ICE_CANDIDATE_ERROR,(e)=>{// ICE webrtcPlayer.on(ZLMRTCClient.Events.WEBRTC_ICE_CANDIDATE_ERROR,(e)=>{// ICE