Przeglądaj źródła

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

648540858 2 lat temu
rodzic
commit
a6fb1cdb74

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

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

Plik diff jest za duży
+ 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,