| | |
| | | // } |
| | | SendRtpItem sendRtpItem = zlmrtpServerFactory.createSendRtpItem(mediaServerItem, ip, port, ssrcInfo.getSsrc(), device.getDeviceId(), |
| | | device.getDeviceId(), channelId, |
| | | false); |
| | | false, false); |
| | | |
| | | |
| | | // if (sendRtpItem.getLocalPort() == 0) { |
| | |
| | | sendRtpItem.setStreamId("1000"); |
| | | sendRtpItem.setSsrc(ssrc); |
| | | sendRtpItem.setOnlyAudio(true); |
| | | sendRtpItem.setRtcp(false); |
| | | redisCatchStorage.updateSendRTPSever(sendRtpItem); |
| | | |
| | | Map<String, Object> param = new HashMap<>(12); |
| | |
| | | if (device == null) { |
| | | return; |
| | | } |
| | | // if (audioBroadcastCatch.getStatus() == AudioBroadcastCatchStatus.Ok) { |
| | | // cmder.streamByeCmd(device, audioBroadcastCatch.getChannelId(), null, audioBroadcastCatch.getSipTransactionInfo().getCallId()); |
| | | // } |
| | | SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(deviceId, audioBroadcastCatch.getChannelId(), null, null); |
| | | if (sendRtpItem != null) { |
| | | redisCatchStorage.deleteSendRTPServer(deviceId, sendRtpItem.getChannelId(), null, null); |