mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-22 21:37:48 +08:00
优化国标级联语音对讲流程
This commit is contained in:
parent
fc9ed976cf
commit
bd41451d60
@ -1072,7 +1072,7 @@ public class PlayServiceImpl implements IPlayService {
|
|||||||
SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(device.getDeviceId(), channelId, null, null);
|
SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(device.getDeviceId(), channelId, null, null);
|
||||||
if (sendRtpItem != null) {
|
if (sendRtpItem != null) {
|
||||||
MediaServerItem mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId());
|
MediaServerItem mediaServer = mediaServerService.getOne(sendRtpItem.getMediaServerId());
|
||||||
Boolean streamReady = zlmServerFactory.isStreamReady(mediaServer, "rtp", sendRtpItem.getReceiveStream());
|
Boolean streamReady = zlmServerFactory.isStreamReady(mediaServer, sendRtpItem.getApp(), sendRtpItem.getStream());
|
||||||
if (streamReady) {
|
if (streamReady) {
|
||||||
logger.warn("[语音对讲] 进行中: {}", channelId);
|
logger.warn("[语音对讲] 进行中: {}", channelId);
|
||||||
event.call("语音对讲进行中");
|
event.call("语音对讲进行中");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user