Commit 3e71e0bdf1e4b2e527d491d426f67e34b7d3c148
1 parent
fb1d9ca5
perf(rtcPlayer): 修改控制台 log 级别
Showing
1 changed file
with
2 additions
and
2 deletions
web_src/src/components/dialog/rtcPlayer.vue
| ... | ... | @@ -51,7 +51,7 @@ export default { |
| 51 | 51 | }); |
| 52 | 52 | |
| 53 | 53 | webrtcPlayer.on(ZLMRTCClient.Events.WEBRTC_ON_REMOTE_STREAMS,(e)=>{//获取到了远端流,可以播放 |
| 54 | - console.error('播放成功',e.streams) | |
| 54 | + console.log('播放成功',e.streams) | |
| 55 | 55 | this.eventcallbacK("playing", "播放成功") |
| 56 | 56 | }); |
| 57 | 57 | |
| ... | ... | @@ -59,7 +59,7 @@ export default { |
| 59 | 59 | console.error('offer anwser 交换失败',e) |
| 60 | 60 | this.eventcallbacK("OFFER ANSWER ERROR ", "offer anwser 交换失败") |
| 61 | 61 | if (e.code ==-400 && e.msg=="流不存在"){ |
| 62 | - console.log("111111") | |
| 62 | + console.log("流不存在") | |
| 63 | 63 | this.timer = setTimeout(()=>{ |
| 64 | 64 | this.webrtcPlayer.close(); |
| 65 | 65 | this.play(url) | ... | ... |