|
|
@@ -263,13 +263,10 @@
|
|
|
});
|
|
|
},
|
|
|
getSnap: function(streamInfo) {
|
|
|
-
|
|
|
let videoUrl = this.$global.baseMediaUrl + streamInfo.app + '/' + streamInfo.stream + ".flv";
|
|
|
- console.log("videoUrl:\t" + videoUrl);
|
|
|
-
|
|
|
+ // console.log("videoUrl:\t" + videoUrl);
|
|
|
let snapUrl = videoUrl.replace(/^ws/, "http");
|
|
|
- console.log('snapUrl:\t' + snapUrl);
|
|
|
-
|
|
|
+ // console.log('snapUrl:\t' + snapUrl);
|
|
|
let fullSnapRequest = this.$global.genApiUrl('/getSnap') + '&timeout_sec=10&expire_sec=30&url=' + snapUrl + "&st=" +
|
|
|
new Date().getTime();
|
|
|
console.log('fullSnapRequest:\t' + fullSnapRequest);
|
|
|
@@ -277,7 +274,6 @@
|
|
|
return fullSnapRequest;
|
|
|
},
|
|
|
playRecord: function(isBackLive,rowData) {
|
|
|
- console.log("当前行:" + JSON.stringify(rowData));
|
|
|
this.$refs.videoRender.contentWindow.postMessage({
|
|
|
cmd: 'switchUrl',
|
|
|
params: isBackLive?{"path":this.videoUrl}:rowData
|