修复视频播放点击音量报错 #557,修复编解码信息获取失败

This commit is contained in:
648540858
2022-08-01 14:33:51 +08:00
parent 2a5c12746b
commit 5e4a673ecc
2 changed files with 13 additions and 3 deletions

View File

@@ -374,7 +374,7 @@ export default {
url: '/zlm/' +this.mediaServerId+ '/index/api/getMediaInfo?vhost=__defaultVhost__&schema=rtmp&app='+ this.app +'&stream='+ this.streamId
}).then(function (res) {
that.tracksLoading = false;
if (res.data.code == 0 && res.data.online) {
if (res.data.code == 0 && res.data.tracks) {
that.tracks = res.data.tracks;
}else{
that.tracksNotLoaded = true;