Commit bd41451d60c2d7143a67d3eaa03d4d09679340a4
1 parent
fc9ed976
优化国标级联语音对讲流程
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
| @@ -1072,7 +1072,7 @@ public class PlayServiceImpl implements IPlayService { | @@ -1072,7 +1072,7 @@ public class PlayServiceImpl implements IPlayService { | ||
| 1072 | SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(device.getDeviceId(), channelId, null, null); | 1072 | SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(device.getDeviceId(), channelId, null, null); |
| 1073 | if (sendRtpItem != null) { | 1073 | if (sendRtpItem != null) { |
| 1074 | MediaServerItem mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId()); | 1074 | MediaServerItem mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId()); |
| 1075 | - Boolean streamReady = zlmServerFactory.isStreamReady(mediaServer, "rtp", sendRtpItem.getReceiveStream()); | 1075 | + Boolean streamReady = zlmServerFactory.isStreamReady(mediaServer, sendRtpItem.getApp(), sendRtpItem.getStream()); |
| 1076 | if (streamReady) { | 1076 | if (streamReady) { |
| 1077 | logger.warn("[语音对讲] 进行中: {}", channelId); | 1077 | logger.warn("[语音对讲] 进行中: {}", channelId); |
| 1078 | event.call("语音对讲进行中"); | 1078 | event.call("语音对讲进行中"); |