Commit 7a917ee50a285d26e34e16de215099029c8be836

Authored by 648540858
1 parent a4a0394f

修复国标录像播放

web_src/src/components/dialog/devicePlayer.vue
... ... @@ -605,12 +605,12 @@ export default {
605 605 url: '/api/playback/start/' + this.deviceId + '/' + this.channelId + '?startTime=' + row.startTime + '&endTime=' +
606 606 row.endTime
607 607 }).then(function (res) {
608   - var streamInfo = res.data;
609   - that.app = streamInfo.app;
610   - that.streamId = streamInfo.stream;
611   - that.mediaServerId = streamInfo.mediaServerId;
612   - that.ssrc = streamInfo.ssrc;
613   - that.videoUrl = that.getUrlByStreamInfo(streamInfo);
  608 + that.streamInfo = res.data;
  609 + that.app = that.streamInfo.app;
  610 + that.streamId = that.streamInfo.stream;
  611 + that.mediaServerId = that.streamInfo.mediaServerId;
  612 + that.ssrc = that.streamInfo.ssrc;
  613 + that.videoUrl = that.getUrlByStreamInfo();
614 614 that.recordPlay = true;
615 615 });
616 616 }
... ...