|
|
@ -258,10 +258,10 @@
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
url: function () {
|
|
|
|
url: function () {
|
|
|
|
if (this.isFlvSupported) {
|
|
|
|
if (this.isFlvSupported) {
|
|
|
|
return location.protocol + '//' + location.hostname + '/live/' + this.device.number + '.flv';
|
|
|
|
return location.protocol + '//' + location.host + '/live/' + this.device.number + '.flv';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
return location.protocol + '//' + location.hostname + '/live/' + this.device.number + '.m3u8';
|
|
|
|
return location.protocol + '//' + location.host + '/live/' + this.device.number + '.m3u8';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//return getDeviceDataValue(this.device, 'flv');
|
|
|
|
//return getDeviceDataValue(this.device, 'flv');
|
|
|
|
},
|
|
|
|
},
|
|
|
|