瀏覽代碼

removed refresh on publish

Josh 4 年之前
父節點
當前提交
d84aaaf58d
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      resources/views/app/video/call-agora-v2.blade.php

+ 3 - 3
resources/views/app/video/call-agora-v2.blade.php

@@ -480,9 +480,9 @@
                                 console.log('ALIX user-published', user);
                                 await this.mediaServiceClient.subscribe(user, mediaType)
                                 this.attemptToPlayParticipantMedia(user, mediaType);
-                                // window.setTimeout(() => {
-                                //     this.refreshVideos();
-                                // }, 250);
+                                window.setTimeout(() => {
+                                    this.refreshVideos();
+                                }, 500);
                             });
                         }
                         async function _initMediaService() {