瀏覽代碼

修复Web页面播放国标录像无声音的问题

648540858 2 年之前
父節點
當前提交
a6fb1cdb74
共有 3 個文件被更改,包括 1276 次插入1264 次删除
  1. 1 1
      src/main/resources/application.yml
  2. 1274 1263
      web_src/package-lock.json
  3. 1 0
      web_src/src/components/GBRecordDetail.vue

+ 1 - 1
src/main/resources/application.yml

@@ -2,4 +2,4 @@ spring:
   application:
     name: wvp
   profiles:
-    active: dev
+    active: local

文件差異過大導致無法顯示
+ 1274 - 1263
web_src/package-lock.json


+ 1 - 0
web_src/src/components/GBRecordDetail.vue

@@ -261,6 +261,7 @@
               this.mediaServerId = this.streamInfo.mediaServerId;
               this.ssrc = this.streamInfo.ssrc;
               this.videoUrl = this.getUrlByStreamInfo();
+              this.hasAudio = this.streamInfo.tracks && this.streamInfo.tracks.length > 1
             }else {
               this.$message({
                 showClose: true,