修复工作

This commit is contained in:
2025-10-01 22:19:45 +08:00
parent dcd905bfde
commit 20f0481f3a
3 changed files with 159 additions and 305 deletions

View File

@@ -69,7 +69,8 @@ const getDetails = async (deviceId) => {
const res = await getDevice(deviceId);
tableData.value = res.data;
// 使用当前访问的域名和端口通过Nginx代理访问视频流
playUrl.value = `http://49.232.154.205:10083/live?url=${tableData.value.url}`;
// 添加ffmpeg=true参数强制使用FFmpeg转换为FLV格式
playUrl.value = `${window.location.origin}/live?url=${tableData.value.url}&&&ffmpeg=true`;
handlePlay();
}