Browse Source

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

648540858 2 years atrás
parent
commit
a6fb1cdb74
3 changed files with 1276 additions and 1264 deletions
  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:
   application:
     name: wvp
     name: wvp
   profiles:
   profiles:
-    active: dev
+    active: local

File diff suppressed because it is too large
+ 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.mediaServerId = this.streamInfo.mediaServerId;
               this.ssrc = this.streamInfo.ssrc;
               this.ssrc = this.streamInfo.ssrc;
               this.videoUrl = this.getUrlByStreamInfo();
               this.videoUrl = this.getUrlByStreamInfo();
+              this.hasAudio = this.streamInfo.tracks && this.streamInfo.tracks.length > 1
             }else {
             }else {
               this.$message({
               this.$message({
                 showClose: true,
                 showClose: true,