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/IPlatformService.java | 44 ++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 42 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java
old mode 100644
new mode 100755
index b5f3c5b..79bdf78
--- a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java
@@ -1,7 +1,17 @@
package com.genersoft.iot.vmp.service;
+import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
+import com.genersoft.iot.vmp.gb28181.event.SipSubscribe;
+import com.genersoft.iot.vmp.media.event.hook.HookSubscribe;
+import com.genersoft.iot.vmp.media.bean.MediaServer;
+import com.genersoft.iot.vmp.service.bean.InviteTimeOutCallback;
+import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
import com.github.pagehelper.PageInfo;
+
+import javax.sip.InvalidArgumentException;
+import javax.sip.SipException;
+import java.text.ParseException;
/**
* 鍥芥爣骞冲彴鐨勪笟鍔$被
@@ -26,20 +36,50 @@
boolean add(ParentPlatform parentPlatform);
/**
+ * 娣诲姞绾ц仈骞冲彴
+ * @param parentPlatform 绾ц仈骞冲彴
+ */
+ boolean update(ParentPlatform parentPlatform);
+
+ /**
* 骞冲彴涓婄嚎
* @param parentPlatform 骞冲彴淇℃伅
*/
- void online(ParentPlatform parentPlatform);
+ void online(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo);
/**
* 骞冲彴绂荤嚎
* @param parentPlatform 骞冲彴淇℃伅
*/
- void offline(ParentPlatform parentPlatform);
+ void offline(ParentPlatform parentPlatform, boolean stopRegisterTask);
/**
* 鍚戜笂绾у钩鍙板彂璧锋敞鍐�
* @param parentPlatform
*/
void login(ParentPlatform parentPlatform);
+
+ /**
+ * 鍚戜笂绾у钩鍙板彂閫佷綅缃闃�
+ * @param platformId 骞冲彴
+ */
+ void sendNotifyMobilePosition(String platformId);
+
+ /**
+ * 鍚戜笂绾у彂閫佽闊冲枈璇濈殑娑堟伅
+ * @param platform 骞冲彴
+ * @param channelId 閫氶亾
+ * @param hookEvent hook浜嬩欢
+ * @param errorEvent 淇′护閿欒浜嬩欢
+ * @param timeoutCallback 瓒呮椂浜嬩欢
+ */
+ void broadcastInvite(ParentPlatform platform, String channelId, MediaServer mediaServerItem, HookSubscribe.Event hookEvent,
+ SipSubscribe.Event errorEvent, InviteTimeOutCallback timeoutCallback) throws InvalidArgumentException, ParseException, SipException;
+
+ /**
+ * 璇煶鍠婅瘽鍥炲BYE
+ */
+ void stopBroadcast(ParentPlatform platform, DeviceChannel channel, String stream,boolean sendBye, MediaServer mediaServerItem);
+
+ void addSimulatedSubscribeInfo(ParentPlatform parentPlatform);
}
--
Gitblit v1.8.0