@@ -56,7 +57,6 @@
-
@@ -64,6 +64,7 @@
停用
启用
删除
+
diff --git a/web_src/src/components/dialog/StreamProxyEdit.vue b/web_src/src/components/dialog/StreamProxyEdit.vue
index a2b3c9e5..63a7bf68 100644
--- a/web_src/src/components/dialog/StreamProxyEdit.vue
+++ b/web_src/src/components/dialog/StreamProxyEdit.vue
@@ -21,7 +21,10 @@
-
+
+
+
+
@@ -39,6 +42,9 @@
+
+
+
-
+
+
+
+
+
@@ -22,11 +26,13 @@
+
+
diff --git a/web_src/src/components/dialog/devicePlayer.vue b/web_src/src/components/dialog/devicePlayer.vue
index 48d295aa..67800955 100644
--- a/web_src/src/components/dialog/devicePlayer.vue
+++ b/web_src/src/components/dialog/devicePlayer.vue
@@ -163,6 +163,7 @@ export default {
},
showVideoDialog: false,
streamId: '',
+ app : '',
convertKey: '',
deviceId: '',
channelId: '',
@@ -198,7 +199,7 @@ export default {
if (tab.name == "codec") {
this.$axios({
method: 'get',
- url: '/zlm/index/api/getMediaInfo?vhost=__defaultVhost__&schema=rtmp&app=rtp&stream='+ this.streamId
+ url: '/zlm/index/api/getMediaInfo?vhost=__defaultVhost__&schema=rtmp&app='+ this.app +'&stream='+ this.streamId
}).then(function (res) {
that.tracksLoading = false;
if (res.data.code == 0 && res.data.online) {
@@ -218,6 +219,7 @@ export default {
this.channelId = channelId;
this.deviceId = deviceId;
this.streamId = "";
+ this.app = "";
this.videoUrl = ""
if (!!this.$refs.videoPlayer) {
this.$refs.videoPlayer.pause();
@@ -228,11 +230,11 @@ export default {
break;
case "record":
this.showVideoDialog = true;
-
this.videoHistory.date = param.date;
this.queryRecords()
break;
case "streamPlay":
+ this.tabActiveName = "media";
this.showRrecord = false,
this.showPtz = false,
this.play(param.streamInfo, param.hasAudio)
@@ -250,6 +252,7 @@ export default {
this.isLoging = false;
this.videoUrl = streamInfo.ws_flv;
this.streamId = streamInfo.streamId;
+ this.app = streamInfo.app;
this.playFromStreamInfo(false, streamInfo)
},
coverPlay: function () {
diff --git a/web_src/src/router/index.js b/web_src/src/router/index.js
index 4735e624..3df0823d 100644
--- a/web_src/src/router/index.js
+++ b/web_src/src/router/index.js
@@ -6,6 +6,7 @@ import deviceList from '../components/DeviceList.vue'
import channelList from '../components/channelList.vue'
import pushVideoList from '../components/PushVideoList.vue'
import streamProxyList from '../components/StreamProxyList.vue'
+import pLatformStreamList from '../components/PLatformStreamList.vue'
import devicePosition from '../components/devicePosition.vue'
import login from '../components/Login.vue'
import parentPlatformList from '../components/ParentPlatformList.vue'
@@ -33,6 +34,10 @@ export default new VueRouter({
path: '/pushVideoList',
component: pushVideoList,
},
+ {
+ path: '/pLatformStreamList',
+ component: pLatformStreamList,
+ },
{
path: '/streamProxyList',
component: streamProxyList,