From ec3daa05f122738f18d4474b9257e4cf794dc5cf Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期五, 06 三月 2026 10:36:01 +0800
Subject: [PATCH] 接口新增
---
项目代码/DP/src/views/indexs/center-map.vue | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/indexs/center-map.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/indexs/center-map.vue"
index 6fec754..e36de93 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/indexs/center-map.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/DP/src/views/indexs/center-map.vue"
@@ -1,12 +1,12 @@
<template>
<div class="centermap">
<div class="mapwrap">
- <ItemWrap title="瑙嗛鐩戞帶">
+ <ItemWrap title="杞﹁疆鎵撶(瑙嗛鐩戞帶">
<video id="video_left" autoplay muted controls playsinline width="100%" height="100%"></video>
</ItemWrap>
</div>
<div class="mapwrap">
- <ItemWrap title="瑙嗛鐩戞帶">
+ <ItemWrap title="杞﹁疆娴嬮噺瑙嗛鐩戞帶">
<video id="video_right" autoplay muted controls playsinline width="100%" height="100%"></video>
</ItemWrap>
</div>
@@ -21,8 +21,8 @@
const webRtcServer_right = ref(null)
// RTSP 鍦板潃锛屾敞鎰� URL 缂栫爜鐗规畩瀛楃
-const rtspLeft = 'rtsp://admin:Mx202513@172.21.7.244:554/Streaming/Channels/102?rtsp_transport=tcp'
-const rtspRight = 'rtsp://admin:Mx202513@172.21.7.244:554/Streaming/Channels/202?rtsp_transport=tcp'
+const rtspLeft = 'rtsp://admin:Mx202513@172.21.7.244:554/Streaming/Channels/101?rtsp_transport=tcp&codecType=h264';
+const rtspRight = 'rtsp://admin:Mx202513@172.21.7.244:554/Streaming/Channels/201?rtsp_transport=tcp&codecType=h264';
// WebRtcStreamer 鏈嶅姟鍦板潃
const serverUrl = 'http://172.21.1.139:8000' // 鈫� 鏀逛负浣犺繍琛� webrtcstreamer 鐨勭數鑴� IP
@@ -85,11 +85,10 @@
<style scoped>
.centermap {
- width: 100%;
height: 100%;
+ display: flex;
}
.mapwrap {
- height: 470px;
width: 100%;
box-sizing: border-box;
position: relative;
--
Gitblit v1.9.3