Browse Source

修复国标录像播放

pull/484/merge
648540858 3 years ago
parent
commit
7a917ee50a
  1. 12
      web_src/src/components/dialog/devicePlayer.vue

12
web_src/src/components/dialog/devicePlayer.vue

@ -605,12 +605,12 @@ export default {
url: '/api/playback/start/' + this.deviceId + '/' + this.channelId + '?startTime=' + row.startTime + '&endTime=' + url: '/api/playback/start/' + this.deviceId + '/' + this.channelId + '?startTime=' + row.startTime + '&endTime=' +
row.endTime row.endTime
}).then(function (res) { }).then(function (res) {
var streamInfo = res.data; that.streamInfo = res.data;
that.app = streamInfo.app; that.app = that.streamInfo.app;
that.streamId = streamInfo.stream; that.streamId = that.streamInfo.stream;
that.mediaServerId = streamInfo.mediaServerId; that.mediaServerId = that.streamInfo.mediaServerId;
that.ssrc = streamInfo.ssrc; that.ssrc = that.streamInfo.ssrc;
that.videoUrl = that.getUrlByStreamInfo(streamInfo); that.videoUrl = that.getUrlByStreamInfo();
that.recordPlay = true; that.recordPlay = true;
}); });
} }

Loading…
Cancel
Save