fix webrtc player assert failed because media empty
parent
97dc926b28
commit
afed8161b1
|
@ -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 协商出错
|
||||||
|
|
Loading…
Reference in New Issue