|
@@ -1,8 +1,5 @@
|
|
|
package com.genersoft.iot.vmp.gb28181.session;
|
|
package com.genersoft.iot.vmp.gb28181.session;
|
|
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
-
|
|
|
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
|
import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
|
|
import com.genersoft.iot.vmp.gb28181.bean.SipTransactionInfo;
|
|
@@ -13,6 +10,9 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.util.ObjectUtils;
|
|
import org.springframework.util.ObjectUtils;
|
|
|
|
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
|
+import java.util.List;
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* @description:视频流session管理器,管理视频预览、预览回放的通信句柄
|
|
* @description:视频流session管理器,管理视频预览、预览回放的通信句柄
|
|
|
* @author: swwheihei
|
|
* @author: swwheihei
|
|
@@ -53,8 +53,6 @@ public class VideoStreamSessionManager {
|
|
|
|
|
|
|
|
RedisUtil.set(VideoManagerConstants.MEDIA_TRANSACTION_USED_PREFIX + userSetting.getServerId()
|
|
RedisUtil.set(VideoManagerConstants.MEDIA_TRANSACTION_USED_PREFIX + userSetting.getServerId()
|
|
|
+ "_" + deviceId + "_" + channelId + "_" + callId + "_" + stream, ssrcTransaction);
|
|
+ "_" + deviceId + "_" + channelId + "_" + callId + "_" + stream, ssrcTransaction);
|
|
|
- RedisUtil.set(VideoManagerConstants.MEDIA_TRANSACTION_USED_PREFIX + userSetting.getServerId()
|
|
|
|
|
- + "_" + deviceId + "_" + channelId + "_" + callId + "_" + stream, ssrcTransaction);
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public SsrcTransaction getSsrcTransaction(String deviceId, String channelId, String callId, String stream){
|
|
public SsrcTransaction getSsrcTransaction(String deviceId, String channelId, String callId, String stream){
|