[+] media::transport::webrtc::connect

This commit is contained in:
acgist
2023-02-19 11:57:09 +08:00
parent 9023883c5b
commit fd505dfbd2
105 changed files with 1511 additions and 2116 deletions

View File

@@ -15,9 +15,10 @@ export default defineComponent({
this._externalVideo.setAttribute("playsinline", "");
this._externalVideo.src = EXTERNAL_VIDEO_SRC;
// TODO关闭摄像头、视频、音频
this._externalVideo
.play()
.catch((error) => logger.warn("externalVideo.play() failed:%o", error));
.catch((error) => console.warn("externalVideo.play() failed:%o", error));
},
});
</script>