fix webrtc player assert failed because media empty

This commit is contained in:
Kairlec
2024-03-21 14:25:45 +08:00
parent 97dc926b28
commit afed8161b1

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 协商出错