diff --git a/rtsp-vue/src/views/video/device/component/flv.vue b/rtsp-vue/src/views/video/device/component/flv.vue index 1b8ae8f..152da8f 100644 --- a/rtsp-vue/src/views/video/device/component/flv.vue +++ b/rtsp-vue/src/views/video/device/component/flv.vue @@ -69,7 +69,7 @@ const getDetails = async (deviceId) => { const res = await getDevice(deviceId); tableData.value = res.data; // 使用当前访问的域名和端口,通过Nginx代理访问视频流 - playUrl.value = `${window.location.origin}/live?url=${tableData.value.url}`; + playUrl.value = `http://49.232.154.205:10083/live?url=${tableData.value.url}`; handlePlay(); }