mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-21 04:47:49 +08:00
1078-修复双向对讲
This commit is contained in:
parent
2aef6ab6f1
commit
84ef932964
@ -833,7 +833,7 @@ public class jt1078ServiceImpl implements Ijt1078Service {
|
||||
sendRtpItem.setReceiveStream(receiveStream);
|
||||
}
|
||||
sendRtpItem.setPlatformId(deviceId);
|
||||
if (onlySend != null && onlySend) {
|
||||
if (onlySend == null || !onlySend) {
|
||||
// 设置hook监听
|
||||
Hook hook = Hook.getInstance(HookType.on_media_arrival, "rtp", receiveStream, mediaServer.getId());
|
||||
subscribe.addSubscribe(hook, (hookData) -> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user