From b6e604f2449bb65dfaafb0f0741ba54ff0d2f9c2 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 30 四月 2024 15:20:03 +0800
Subject: [PATCH] 修改云端录像详情页使用直接访问zlm的方式播放录像
---
src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
old mode 100644
new mode 100755
index 3ab1b80..6a4f866
--- a/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/bean/MessageForPushChannel.java
@@ -2,6 +2,7 @@
/**
* 褰撲笂绾у钩鍙�
+ * @author lin
*/
public class MessageForPushChannel {
/**
@@ -26,9 +27,14 @@
private String gbId;
/**
- * 璇锋眰鐨勫钩鍙癐D
+ * 璇锋眰鐨勫钩鍙板浗鏍囩紪鍙�
*/
private String platFormId;
+
+ /**
+ * 璇锋眰鐨勫钩鍙拌嚜澧濱D
+ */
+ private int platFormIndex;
/**
* 璇锋眰骞冲彴鍚嶇О
@@ -44,6 +50,23 @@
* 鐩爣娴佸獟浣撹妭鐐笽D
*/
private String mediaServerId;
+
+
+
+ public static MessageForPushChannel getInstance(int type, String app, String stream, String gbId,
+ String platFormId, String platFormName, String serverId,
+ String mediaServerId){
+ MessageForPushChannel messageForPushChannel = new MessageForPushChannel();
+ messageForPushChannel.setType(type);
+ messageForPushChannel.setGbId(gbId);
+ messageForPushChannel.setApp(app);
+ messageForPushChannel.setStream(stream);
+ messageForPushChannel.setServerId(serverId);
+ messageForPushChannel.setMediaServerId(mediaServerId);
+ messageForPushChannel.setPlatFormId(platFormId);
+ messageForPushChannel.setPlatFormName(platFormName);
+ return messageForPushChannel;
+ }
public int getType() {
@@ -109,4 +132,12 @@
public void setMediaServerId(String mediaServerId) {
this.mediaServerId = mediaServerId;
}
+
+ public int getPlatFormIndex() {
+ return platFormIndex;
+ }
+
+ public void setPlatFormIndex(int platFormIndex) {
+ this.platFormIndex = platFormIndex;
+ }
}
--
Gitblit v1.8.0