|
|
|
|
@ -75,9 +75,11 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getHttp(){
|
|
|
|
|
const hostname = window.location.hostname;
|
|
|
|
|
|
|
|
|
|
this.streamUrl =
|
|
|
|
|
|
|
|
|
|
"http://127.0.0.1:8096/index/api/webrtc?app=live&stream=camera" +
|
|
|
|
|
"http://"+hostname+":8096/index/api/webrtc?app=live&stream=camera" +
|
|
|
|
|
this.cameraId +
|
|
|
|
|
"&type=play";
|
|
|
|
|
},
|
|
|
|
|
|