| | |
| | | |
| | | @Override |
| | | public void updateSendRTPSever(SendRtpItem sendRtpItem) { |
| | | |
| | | String key = VideoManagerConstants.PLATFORM_SEND_RTP_INFO_PREFIX + |
| | | userSetting.getServerId() + "_" |
| | | + sendRtpItem.getMediaServerId() + "_" |
| | | + sendRtpItem.getPlatformId() + "_" |
| | | + sendRtpItem.getChannelId() + "_" |
| | | + sendRtpItem.getStream() + "_" |
| | | + sendRtpItem.getCallId(); |
| | | redisTemplate.opsForValue().set(key, sendRtpItem); |
| | | redisTemplate.opsForValue().set(sendRtpItem.getRedisKey(), sendRtpItem); |
| | | } |
| | | |
| | | @Override |
| | |
| | | callId = "*"; |
| | | } |
| | | String key = VideoManagerConstants.PLATFORM_SEND_RTP_INFO_PREFIX |
| | | + userSetting.getServerId() + "_*_" |
| | | + "*_*_" |
| | | + platformGbId + "_" |
| | | + channelId + "_" |
| | | + streamId + "_" |
| | |
| | | */ |
| | | @Override |
| | | public void deleteSendRTPServer(SendRtpItem sendRtpItem) { |
| | | deleteSendRTPServer(sendRtpItem.getPlatformId(), sendRtpItem.getChannelId(),sendRtpItem.getCallId(), sendRtpItem.getServerId()); |
| | | deleteSendRTPServer(sendRtpItem.getPlatformId(), sendRtpItem.getChannelId(),sendRtpItem.getCallId(), sendRtpItem.getStream()); |
| | | } |
| | | |
| | | @Override |