去除加载
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m55s

This commit is contained in:
Song367 2025-08-11 14:05:47 +08:00
parent bc79ccb601
commit b4f9cf2b50

View File

@ -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);
}
// 新增:用户主动断开连接的方法