From dfb87c768538e280cf5e17d1d5ee5bbed1e1888d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期五, 25 十一月 2022 10:58:26 +0800 Subject: [PATCH] 合并主线 --- src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java index dc3f5d8..32f0364 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java @@ -347,7 +347,7 @@ // } SendRtpItem sendRtpItem = zlmrtpServerFactory.createSendRtpItem(mediaServerItem, ip, port, ssrcInfo.getSsrc(), device.getDeviceId(), device.getDeviceId(), channelId, - false); + false, false); // if (sendRtpItem.getLocalPort() == 0) { @@ -375,6 +375,7 @@ sendRtpItem.setStreamId("1000"); sendRtpItem.setSsrc(ssrc); sendRtpItem.setOnlyAudio(true); + sendRtpItem.setRtcp(false); redisCatchStorage.updateSendRTPSever(sendRtpItem); Map<String, Object> param = new HashMap<>(12); @@ -1064,9 +1065,6 @@ 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); -- Gitblit v1.8.0