1078-双向对讲完成

This commit is contained in:
648540858
2024-05-29 17:26:28 +08:00
parent 87ecf68332
commit de6a3ceb76
2 changed files with 13 additions and 4 deletions

View File

@@ -268,8 +268,11 @@ public class MediaServiceImpl implements IMediaService {
storager.stopPlay(inviteInfo.getDeviceId(), inviteInfo.getChannelId());
return result;
}
if (stream.startsWith("1078")) {
return false;
}
SendRtpItem sendRtpItem = redisCatchStorage.querySendRTPServer(null, null, stream, null);
if (sendRtpItem != null && "talk".equals(sendRtpItem.getApp())) {
if (sendRtpItem != null && "talk".equals(sendRtpItem.getApp() )) {
return false;
}
} else if ("talk".equals(app) || "broadcast".equals(app)) {