| | |
| | | |
| | | @Override |
| | | public void streamByeCmd(ParentPlatform platform, String callId) { |
| | | if (platform == null) { |
| | | return; |
| | | } |
| | | SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(platform.getServerGBId(), null, null, callId); |
| | | if (sendRtpItem != null) { |
| | | String mediaServerId = sendRtpItem.getMediaServerId(); |
| | |
| | | |
| | | } |
| | | } |
| | | platformGbStreamMapper.batchAdd(streamPushItemListFroPlatform); |
| | | // 发送通知 |
| | | for (String platformId : platformForEvent.keySet()) { |
| | | eventPublisher.catalogEventPublishForStream( |
| | | platformId, platformForEvent.get(platformId), CatalogEvent.ADD); |
| | | if (streamPushItemListFroPlatform.size() > 0) { |
| | | platformGbStreamMapper.batchAdd(streamPushItemListFroPlatform); |
| | | // 发送通知 |
| | | for (String platformId : platformForEvent.keySet()) { |
| | | eventPublisher.catalogEventPublishForStream( |
| | | platformId, platformForEvent.get(platformId), CatalogEvent.ADD); |
| | | } |
| | | } |
| | | |
| | | } |
| | | } |
| | | |