[*] 日常优化
This commit is contained in:
@@ -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:资源释放
|
||||
|
||||
Reference in New Issue
Block a user