去除加载
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m55s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m55s
This commit is contained in:
parent
bc79ccb601
commit
b4f9cf2b50
22
src/index.js
22
src/index.js
@ -1256,18 +1256,18 @@ class WebRTCChat {
|
||||
// 清理视频缓存和预创建流
|
||||
this.clearVideoCache();
|
||||
|
||||
setTimeout(() => {
|
||||
// 显示头像,隐藏视频
|
||||
if (this.videoContainer) {
|
||||
this.videoContainer.classList.remove('calling');
|
||||
}
|
||||
// setTimeout(() => {
|
||||
// // 显示头像,隐藏视频
|
||||
// if (this.videoContainer) {
|
||||
// this.videoContainer.classList.remove('calling');
|
||||
// }
|
||||
|
||||
// 重新初始化重要视频流
|
||||
this.precreateImportantVideos().then(() => {
|
||||
// 重新启动默认视频流
|
||||
this.startDefaultVideoStream();
|
||||
});
|
||||
}, 300);
|
||||
// // 重新初始化重要视频流
|
||||
// this.precreateImportantVideos().then(() => {
|
||||
// // 重新启动默认视频流
|
||||
// this.startDefaultVideoStream();
|
||||
// });
|
||||
// }, 300);
|
||||
}
|
||||
|
||||
// 新增:用户主动断开连接的方法
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user