对级联点播信令进行处理
This commit is contained in:
@@ -5,6 +5,7 @@ import com.genersoft.iot.vmp.conf.MediaServerConfig;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.PlatformRegister;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.SendRtpItem;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -78,4 +79,6 @@ public interface IRedisCatchStorage {
|
||||
String queryPlatformRegisterInfo(String callId);
|
||||
|
||||
void delPlatformRegisterInfo(String callId);
|
||||
|
||||
void updateSendRTPSever(SendRtpItem sendRtpItem);
|
||||
}
|
||||
|
||||
@@ -3,10 +3,7 @@ package com.genersoft.iot.vmp.storager.impl;
|
||||
import com.genersoft.iot.vmp.common.StreamInfo;
|
||||
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
||||
import com.genersoft.iot.vmp.conf.MediaServerConfig;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatform;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.ParentPlatformCatch;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.PlatformRegister;
|
||||
import com.genersoft.iot.vmp.gb28181.bean.*;
|
||||
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
|
||||
import com.genersoft.iot.vmp.storager.dao.DeviceChannelMapper;
|
||||
import com.genersoft.iot.vmp.utils.redis.RedisUtil;
|
||||
@@ -215,4 +212,10 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
||||
public void delPlatformRegisterInfo(String callId) {
|
||||
redis.del(VideoManagerConstants.PLATFORM_REGISTER_INFO_PREFIX + callId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateSendRTPSever(SendRtpItem sendRtpItem) {
|
||||
String key = VideoManagerConstants.PLATFORM_SEND_RTP_INFO_PREFIX + sendRtpItem.getPlatformId() + "_" + sendRtpItem.getChannelId();
|
||||
redis.set(key, sendRtpItem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user