Commit 3e71e0bdf1e4b2e527d491d426f67e34b7d3c148

Authored by xiaoQQya
1 parent fb1d9ca5

perf(rtcPlayer): 修改控制台 log 级别

web_src/src/components/dialog/rtcPlayer.vue
@@ -51,7 +51,7 @@ export default { @@ -51,7 +51,7 @@ export default {
51 }); 51 });
52 52
53 webrtcPlayer.on(ZLMRTCClient.Events.WEBRTC_ON_REMOTE_STREAMS,(e)=>{//获取到了远端流,可以播放 53 webrtcPlayer.on(ZLMRTCClient.Events.WEBRTC_ON_REMOTE_STREAMS,(e)=>{//获取到了远端流,可以播放
54 - console.error('播放成功',e.streams) 54 + console.log('播放成功',e.streams)
55 this.eventcallbacK("playing", "播放成功") 55 this.eventcallbacK("playing", "播放成功")
56 }); 56 });
57 57
@@ -59,7 +59,7 @@ export default { @@ -59,7 +59,7 @@ export default {
59 console.error('offer anwser 交换失败',e) 59 console.error('offer anwser 交换失败',e)
60 this.eventcallbacK("OFFER ANSWER ERROR ", "offer anwser 交换失败") 60 this.eventcallbacK("OFFER ANSWER ERROR ", "offer anwser 交换失败")
61 if (e.code ==-400 && e.msg=="流不存在"){ 61 if (e.code ==-400 && e.msg=="流不存在"){
62 - console.log("111111") 62 + console.log("流不存在")
63 this.timer = setTimeout(()=>{ 63 this.timer = setTimeout(()=>{
64 this.webrtcPlayer.close(); 64 this.webrtcPlayer.close();
65 this.play(url) 65 this.play(url)