648540858 / wvp-GB28181-pro

WEB VIDEO PLATFORM是一个基于GB28181-2016标准实现的网络视频平台,支持NAT穿透,支持海康、大华、宇视等品牌的IPC、NVR、DVR接入。支持国标级联,支持rtsp/rtmp等视频流转发到国标平台,支持rtsp/rtmp等推流转发到国标平台。
https://doc.wvp-pro.cn
MIT License
4.85k stars 1.44k forks source link

对海康摄像头语音广播问题咨询 #1479

Closed huishaoli closed 2 months ago

huishaoli commented 4 months ago

环境信息:

描述错误 描述下您遇到的问题: 广播对讲功能,zlm对海康摄像头推rtp流成功之后摄像头返回了一个BYE消息,zlm推流结束,无法进行广播和对讲

如何复现 有明确复现步骤的问题会很容易被解决

截图
screenshot-20240531-170009

抓包文件

日志


日志内容放这里, 文件的话请直接上传
2024-05-31 16:53:32.985 [wvp-13]  INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 1122 [语音喊话] device: 32010100001327003437, channel: 32010100001327003437
2024-05-31 16:53:32.994 [https-jsse-nio-18080-exec-10]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 341 [ZLM HOOK] 流注册, test->rtmp->broadcast/32010100001327003437_32010100001327003437
2024-05-31 16:53:32.995 [https-jsse-nio-18080-exec-6]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 341 [ZLM HOOK] 流注册, test->ts->broadcast/32010100001327003437_32010100001327003437
2024-05-31 16:53:32.996 [https-jsse-nio-18080-exec-8]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 341 [ZLM HOOK] 流注册, test->fmp4->broadcast/32010100001327003437_32010100001327003437
2024-05-31 16:53:33.014 [wvp-12]  INFO --- c.g.i.v.g.t.e.r.i.m.r.c.BroadcastResponseMessageHandler: 69 [语音广播]回复:OK, 32010100001327003437/32010100001327003437
2024-05-31 16:53:33.033 [wvp-14]  INFO --- c.g.i.v.g.t.e.request.impl.InviteRequestProcessor: 178 [INVITE] requesterId: 32010100001327003437, callId: 656760279, 来自:/180.110.197.90:51175
2024-05-31 16:53:33.037 [wvp-14]  INFO --- c.g.i.v.g.t.e.request.impl.InviteRequestProcessor: 951 收到设备32010100001327003437的语音广播Invite请求
2024-05-31 16:53:33.039 [wvp-14]  INFO --- c.g.i.v.g.t.e.request.impl.InviteRequestProcessor: 1012 设备32010100001327003437请求语音流,地址:192.168.4.199:15066,ssrc:0200000017, UDP
2024-05-31 16:53:33.039 [wvp-14]  INFO --- c.g.i.v.g.t.e.request.impl.InviteRequestProcessor: 1026 设备32010100001327003437请求语音流, 收流地址:192.168.4.199:15066,ssrc:0200000017, UDP, 对讲方式:Play
2024-05-31 16:53:33.068 [wvp-14]  INFO --- c.g.i.v.g.t.e.request.impl.InviteRequestProcessor: 1139 [语音喊话] 回复200OK后发现 BroadcastPushAfterAck为False,现在开始推流
2024-05-31 16:53:33.070 [wvp-14]  INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 1349 [开始推流] rtp/32010100001327003437_32010100001327003437, 目标=192.168.4.199:15066,SSRC=0200000017, RTCP=false
2024-05-31 16:53:33.073 [wvp-14]  INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 1398 调用ZLM推流接口, 结果: {"code":0,"local_port":30000}
2024-05-31 16:53:33.073 [wvp-14]  INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 1399 RTP推流成功[ broadcast/32010100001327003437_32010100001327003437 ],30000->192.168.4.199:15066,
2024-05-31 16:53:33.101 [wvp-15]  INFO --- c.g.i.v.g.t.event.request.impl.AckRequestProcessor: 96 [收到ACK]: 来自->32010100001327003437
2024-05-31 16:53:33.106 [wvp-17]  INFO --- c.g.i.v.g.t.event.request.impl.ByeRequestProcessor: 125 [收到bye] 来自32010100001327003437,停止通道:32010100001327003437, 类型: BROADCAST, callId: 656760279
2024-05-31 16:53:33.106 [wvp-17]  INFO --- c.g.i.v.g.t.event.request.impl.ByeRequestProcessor: 133 [收到bye] 停止推流:32010100001327003437_32010100001327003437, 媒体节点: test
2024-05-31 16:53:33.107 [wvp-15]  INFO --- c.g.i.v.g.t.event.request.impl.AckRequestProcessor: 108 收到ACK,rtp/32010100001327003437_32010100001327003437开始向上级推流, 目标=192.168.4.199:15066,SSRC=0200000017, 协议:UDP
2024-05-31 16:53:33.109 [wvp-17]  INFO --- c.g.iot.vmp.storager.impl.RedisCatchStorageImpl: 277 [删除 redis的SendRTP]: VMP_PLATFORM_SEND_RTP_INFO_000000_test_32010100001327003437_32010100001327003437_32010100001327003437_32010100001327003437_656760279
2024-05-31 16:53:33.113 [wvp-17]  INFO --- ZLMRTPServerFactory: 302 [停止RTP推流] 成功
2024-05-31 16:53:33.117 [wvp-17]  INFO --- c.g.i.v.g.t.event.request.impl.ByeRequestProcessor: 167 [停止对讲] 来自上级,平台:32010100001327003437, 通道:32010100001327003437
2024-05-31 16:53:33.120 [wvp-17]  INFO --- c.g.i.v.g.t.event.request.impl.ByeRequestProcessor: 173 [收到bye] 32010100001327003437_32010100001327003437 无其它观看者,通知设备停止推流
2024-05-31 16:53:33.124 [wvp-17]  INFO --- c.g.i.v.g.t.event.request.impl.ByeRequestProcessor: 196 [收到bye] 来自设备:32010100001327003437, 通道已停止推流: 32010100001327003437
2024-05-31 16:53:33.149 [wvp-17]  INFO --- ZLMRTPServerFactory: 117 关闭RTP Server {"code":0,"hit":1}
2024-05-31 16:53:33.176 [https-jsse-nio-18080-exec-1]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 343 [ZLM HOOK] 流注销, test->hls->rtp/32010100001327003437_32010100001327003437
2024-05-31 16:53:33.176 [https-jsse-nio-18080-exec-6]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 343 [ZLM HOOK] 流注销, test->ts->rtp/32010100001327003437_32010100001327003437
2024-05-31 16:53:33.177 [https-jsse-nio-18080-exec-3]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 343 [ZLM HOOK] 流注销, test->rtsp->rtp/32010100001327003437_32010100001327003437
2024-05-31 16:53:33.178 [https-jsse-nio-18080-exec-2]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 343 [ZLM HOOK] 流注销, test->rtmp->rtp/32010100001327003437_32010100001327003437
2024-05-31 16:53:33.178 [https-jsse-nio-18080-exec-4]  INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 343 [ZLM HOOK] 流注销, test->fmp4->rtp/32010100001327003437_32010100001327003437
648540858 commented 3 months ago

设备编辑 配置勾选受到ack后发流 image

648540858 commented 3 months ago

公网部署的?海康的设备大部分不支持公网语音对讲