[*] 日常优化

This commit is contained in:
acgist
2023-06-27 08:31:46 +08:00
parent 0ae5309b62
commit 8245d3446a
4 changed files with 57 additions and 47 deletions

View File

@@ -99,7 +99,7 @@ export default {
this.audioStream.addTrack(track);
this.audio.srcObject = this.audioStream;
}
this.audio.play().catch((error) => console.warn("频播放失败", error));
this.audio.play().catch((error) => console.warn("频播放失败", error));
} else if(track.kind === 'video') {
if (this.videoStream) {
// TODO资源释放