From c21d973977a9f1d00d26179de764687ddd0ec56c Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 24 四月 2024 14:59:41 +0800
Subject: [PATCH] 修复收到catalog消息是更新导致是否有音频的设置失效的BUG

---
 src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 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 be8a8f5..f8486a8
--- a/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java
+++ b/src/main/java/com/genersoft/iot/vmp/service/IPlatformService.java
@@ -1,11 +1,12 @@
 package com.genersoft.iot.vmp.service;
 
-import com.genersoft.iot.vmp.conf.exception.SsrcTransactionNotFoundException;
+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.zlm.ZlmHttpHookSubscribe;
 import com.genersoft.iot.vmp.media.zlm.dto.MediaServerItem;
 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;
@@ -35,10 +36,16 @@
     boolean add(ParentPlatform parentPlatform);
 
     /**
+     * 娣诲姞绾ц仈骞冲彴
+     * @param parentPlatform 绾ц仈骞冲彴
+     */
+    boolean update(ParentPlatform parentPlatform);
+
+    /**
      * 骞冲彴涓婄嚎
      * @param parentPlatform 骞冲彴淇℃伅
      */
-    void online(ParentPlatform parentPlatform);
+    void online(ParentPlatform parentPlatform, SipTransactionInfo sipTransactionInfo);
 
     /**
      * 骞冲彴绂荤嚎
@@ -71,9 +78,8 @@
 
     /**
      * 璇煶鍠婅瘽鍥炲BYE
-     * @param platform 骞冲彴
-     * @param channelId 閫氶亾
-     * @param stream 娴佷俊鎭�
      */
-    void stopBroadcast(ParentPlatform platform, String channelId, String stream )throws InvalidArgumentException, ParseException, SsrcTransactionNotFoundException, SipException;
+    void stopBroadcast(ParentPlatform platform, DeviceChannel channel, String stream,boolean sendBye, MediaServerItem mediaServerItem);
+
+    void addSimulatedSubscribeInfo(ParentPlatform parentPlatform);
 }

--
Gitblit v1.8.0