fix webrtc player assert failed because media empty

pull/1384/head
Kairlec 2024-03-21 14:25:45 +08:00
parent 97dc926b28
commit afed8161b1
No known key found for this signature in database
GPG Key ID: DB5579BC03F05D3E
1 changed files with 2 additions and 2 deletions

View File

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