修复Web页面播放国标录像无声音的问题
This commit is contained in:
parent
f57ed350b3
commit
a6fb1cdb74
@ -2,4 +2,4 @@ spring:
|
|||||||
application:
|
application:
|
||||||
name: wvp
|
name: wvp
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: local
|
2529
web_src/package-lock.json
generated
2529
web_src/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user