Closed orchingly closed 3 months ago
简单来说就是拉流代理在设备重启后失效了,辛苦作者或者各位路过的大佬看下有无可解之法 下边提供了控制台输出日志和wvp配置文件
ZLM也提了该问题
https://github.com/ZLMediaKit/ZLMediaKit/issues/3739
配置全内网,wvp和ZLM均在服务器192.168.5.100上
wvp配置摄像头拉流代理成功,后台录制视频
重启摄像头(TP link 43AN), wvp设备列表中设备离线
重启完成:wvp设备列表显示设备在线
播放拉流代理,失败;停用拉流代理再启用,失败:提示地址不存在
对设备发起视频点播无响应,一直转圈,没有收流超时的提示
2024-07-20 11:49:21.888 [wvp-13] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:49:24.881 [http-nio-18080-exec-7] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 232 [ZLM HOOK]流无人观看:1010101010100->rtmp->rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:49:29.454 [scheduled-task-pool-22] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:49:29.454 [scheduled-task-pool-22] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:49:31.719 [wvp-18] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000001, callId: T1GE-WiBLUXHuxzpVBU5u9OmpNiW1gRg 2024-07-20 11:49:31.888 [wvp-16] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:49:39.454 [scheduled-task-pool-22] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:49:39.454 [scheduled-task-pool-16] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:49:41.888 [wvp-3] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:49:49.454 [scheduled-task-pool-6] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:49:49.454 [scheduled-task-pool-6] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:49:51.889 [wvp-27] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:49:52.946 [wvp-24] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000002, callId: MSwdDmeo3cDj1DH.77kARv6KFrApbTKc 2024-07-20 11:49:59.454 [scheduled-task-pool-20] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:49:59.454 [scheduled-task-pool-20] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:00.000 [scheduled-task-pool-22] INFO --- com.genersoft.iot.vmp.gb28181.event.SipSubscribe: 42 [定时任务] 清理过期的SIP订阅信息 2024-07-20 11:50:01.889 [wvp-20] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:09.454 [scheduled-task-pool-5] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:09.454 [scheduled-task-pool-5] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:11.322 [wvp-23] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 107 [注销请求]设备:34020000001320000001, 开始处理: 192.168.5.201:5060 2024-07-20 11:50:11.322 [wvp-23] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 111 [注销请求]设备:34020000001320000001, 注册续订: 34020000001320000001 2024-07-20 11:50:11.322 [wvp-23] WARN --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 205 [设备离线],主动注销, device:34020000001320000001 2024-07-20 11:50:11.324 [wvp-23] INFO --- c.g.iot.vmp.storager.impl.RedisCatchStorageImpl: 637 [redis通知] 推送设备/通道状态-> 34020000001320000001 OFF 2024-07-20 11:50:11.347 [wvp-23] INFO --- ZLMServerFactory: 114 关闭RTP Server {"code":0,"hit":1} 2024-07-20 11:50:11.347 [http-nio-18080-exec-3] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 354 [ZLM HOOK] 录像完成事件:1010101010100->/data/ipcamera/ZLMedia/www/record/rtp/34020000001320000001_34020000001320000001/2024-07-20/11-48-54-0.mp4 2024-07-20 11:50:11.347 [http-nio-18080-exec-1] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 216 [ZLM HOOK] 流注销, 1010101010100->rtsp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.348 [wvp-9] INFO --- c.g.i.v.media.service.impl.MediaServerServiceImpl: 111 流变化:注销, app->rtp, stream->34020000001320000001_34020000001320000001 2024-07-20 11:50:11.348 [wvp-14] INFO --- c.g.iot.vmp.service.impl.CloudRecordServiceImpl: 119 [添加录像记录] rtp/34020000001320000001_34020000001320000001, callId: ae5ccc07431374c19af14bb9755ada24@0.0.0.0, 内容:RecordInfo{文件名称='11-48-54-0.mp4', 文件路径='/data/ipcamera/ZLMedia/www/record/rtp/34020000001320000001_34020000001320000001/2024-07-20/11-48-54-0.mp4', 文件大小=268866, 开始时间=1721447334, 时长=76.23200225830078, params=null} 2024-07-20 11:50:11.348 [wvp-23] INFO --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 275 [移除目录订阅]: 34020000001320000001 2024-07-20 11:50:11.349 [wvp-19] INFO --- c.g.iot.vmp.storager.impl.RedisCatchStorageImpl: 330 [redis 流变化事件] 发送 WVP_MSG_STREAM_CHANGE_RTP: {"serverId":"000000","app":"rtp","stream":"34020000001320000001_34020000001320000001","register":false,"mediaServerId":"1010101010100"} 2024-07-20 11:50:11.349 [wvp-23] INFO --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 309 [移除移动位置订阅]: 34020000001320000001 2024-07-20 11:50:11.349 [http-nio-18080-exec-5] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 216 [ZLM HOOK] 流注销, 1010101010100->rtsp->rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.349 [http-nio-18080-exec-1] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 354 [ZLM HOOK] 录像完成事件:1010101010100->/data/ipcamera/ZLMedia/www/record/rtmp/34020000001320000001_34020000001320000001/2024-07-20/11-48-55-0.mp4 2024-07-20 11:50:11.350 [wvp-7] INFO --- c.g.i.v.media.service.impl.MediaServerServiceImpl: 111 流变化:注销, app->rtmp, stream->34020000001320000001_34020000001320000001 2024-07-20 11:50:11.358 [wvp-2] INFO --- c.g.iot.vmp.service.impl.CloudRecordServiceImpl: 119 [添加录像记录] rtmp/34020000001320000001_34020000001320000001, callId: null, 内容:RecordInfo{文件名称='11-48-55-0.mp4', 文件路径='/data/ipcamera/ZLMedia/www/record/rtmp/34020000001320000001_34020000001320000001/2024-07-20/11-48-55-0.mp4', 文件大小=488006, 开始时间=1721447335, 时长=76.16200256347656, params=null} 2024-07-20 11:50:11.358 [wvp-22] INFO --- c.g.iot.vmp.storager.impl.RedisCatchStorageImpl: 330 [redis 流变化事件] 发送 WVP_MSG_STREAM_CHANGE_PULL: {"serverId":"000000","app":"rtmp","stream":"34020000001320000001_34020000001320000001","register":false,"mediaServerId":"1010101010100"} 2024-07-20 11:50:11.824 [wvp-8] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 107 [注销请求]设备:34020000001320000001, 开始处理: 192.168.5.201:5060 2024-07-20 11:50:11.825 [wvp-8] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 219 [注销成功] deviceId: 34020000001320000001->192.168.5.201:5060 2024-07-20 11:50:11.825 [wvp-8] WARN --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 205 [设备离线],主动注销, device:34020000001320000001 2024-07-20 11:50:11.828 [wvp-8] INFO --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 275 [移除目录订阅]: 34020000001320000001 2024-07-20 11:50:11.828 [wvp-8] INFO --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 309 [移除移动位置订阅]: 34020000001320000001 2024-07-20 11:50:11.889 [wvp-6] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:13.352 [http-nio-18080-exec-7] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='180-181', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=33241, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:50:13.354 [http-nio-18080-exec-9] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:19.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:19.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:21.889 [wvp-16] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:26.353 [http-nio-18080-exec-6] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='194-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=44395, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:50:26.354 [http-nio-18080-exec-2] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:29.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:29.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:31.890 [wvp-24] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:39.454 [scheduled-task-pool-10] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:39.454 [scheduled-task-pool-13] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:41.890 [wvp-20] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:42.353 [http-nio-18080-exec-6] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='211-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=35455, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:50:42.355 [http-nio-18080-exec-2] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:49.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:49.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:50:51.890 [wvp-28] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:50:52.952 [wvp-4] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000002, callId: lRg884ETW.S6IHv08G2Pe2mj4xSaSH4z 2024-07-20 11:50:55.230 [wvp-1] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 107 [注册请求]设备:34020000001320000001, 开始处理: 192.168.5.201:5060 2024-07-20 11:50:55.231 [wvp-1] INFO --- c.g.i.v.g.t.e.r.impl.RegisterRequestProcessor: 214 [注册成功] deviceId: 34020000001320000001->192.168.5.201:5060 2024-07-20 11:50:55.231 [wvp-1] INFO --- c.genersoft.iot.vmp.service.impl.DeviceServiceImpl: 107 [设备上线] deviceId:34020000001320000001->192.168.5.201:5060 2024-07-20 11:50:55.248 [wvp-1] INFO --- c.g.iot.vmp.storager.impl.RedisCatchStorageImpl: 637 [redis通知] 推送设备/通道状态-> 34020000001320000001 ON 2024-07-20 11:50:59.454 [scheduled-task-pool-18] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:50:59.454 [scheduled-task-pool-12] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:01.354 [http-nio-18080-exec-4] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='229-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=43137, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:51:01.356 [http-nio-18080-exec-6] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:01.358 [wvp-9] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 235 [ZLM HOOK] 预览流未找到, 发起自动点播:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:01.361 [wvp-9] INFO --- ZLMServerFactory: 46 {"code":0,"exist":false} 2024-07-20 11:51:01.362 [wvp-9] INFO --- ZLMServerFactory: 94 {"code":0,"port":30070} 2024-07-20 11:51:01.362 [wvp-9] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 467 [点播开始] deviceId: 34020000001320000001, channelId: 34020000001320000001,码流类型:null, 收流端口: 30070, 码流:34020000001320000001_34020000001320000001, 收流模式:TCP-PASSIVE, SSRC: 0105004833, SSRC校验:false 2024-07-20 11:51:01.363 [wvp-9] INFO --- c.g.iot.vmp.gb28181.transmit.cmd.impl.SIPCommander: 276 34020000001320000001_34020000001320000001 分配的ZLM为: 1010101010100 [192.168.5.100:30070] 2024-07-20 11:51:01.374 [wvp-10] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:01.375 [wvp-10] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 556 [点播失败] deviceId: 34020000001320000001, channelId:34020000001320000001, 415: Unsupported Media Type 2024-07-20 11:51:01.376 [wvp-10] INFO --- ZLMServerFactory: 114 关闭RTP Server {"code":0,"hit":1} 2024-07-20 11:51:01.378 [wvp-10] ERROR --- o.s.a.i.SimpleAsyncUncaughtExceptionHandler: 39 Unexpected exception occurred invoking async method: public void com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver.processResponse(javax.sip.ResponseEvent) java.lang.NullPointerException: null at com.genersoft.iot.vmp.service.impl.PlayServiceImpl.lambda$10(PlayServiceImpl.java:564) at com.genersoft.iot.vmp.gb28181.transmit.cmd.impl.SIPCommander.lambda$1(SIPCommander.java:357) at com.genersoft.iot.vmp.gb28181.transmit.SIPSender.lambda$0(SIPSender.java:71) at com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver.processResponse(SIPProcessorObserver.java:126) at com.genersoft.iot.vmp.gb28181.transmit.SIPProcessorObserver$$FastClassBySpringCGLIB$$4a3dcb3e.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:792) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:762) at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) 2024-07-20 11:51:01.881 [wvp-19] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:01.891 [wvp-17] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:02.882 [wvp-5] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:04.882 [wvp-26] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:08.883 [wvp-7] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:09.454 [scheduled-task-pool-10] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:09.454 [scheduled-task-pool-10] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:11.891 [wvp-15] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:12.884 [wvp-14] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:16.884 [wvp-22] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:19.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:19.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:20.884 [wvp-12] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:21.891 [wvp-2] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:23.354 [http-nio-18080-exec-8] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='231-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=41675, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:51:23.356 [http-nio-18080-exec-7] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:23.358 [wvp-8] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 235 [ZLM HOOK] 预览流未找到, 发起自动点播:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:23.359 [wvp-8] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 282 [点播开始] 已经请求中,等待结果, deviceId: 34020000001320000001, channelId: 34020000001320000001 2024-07-20 11:51:24.885 [wvp-18] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:28.886 [wvp-13] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:29.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:29.454 [scheduled-task-pool-22] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:31.891 [wvp-16] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:32.886 [wvp-27] WARN --- c.g.iot.vmp.gb28181.transmit.SIPProcessorObserver: 119 接收到失败的response响应!status:415,message:Unsupported Media Type 2024-07-20 11:51:39.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:39.454 [scheduled-task-pool-17] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:41.891 [wvp-3] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:48.355 [http-nio-18080-exec-2] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='232-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=34289, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:51:48.357 [http-nio-18080-exec-5] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:48.359 [wvp-24] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 235 [ZLM HOOK] 预览流未找到, 发起自动点播:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:48.360 [wvp-24] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 282 [点播开始] 已经请求中,等待结果, deviceId: 34020000001320000001, channelId: 34020000001320000001 2024-07-20 11:51:49.454 [scheduled-task-pool-16] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:49.454 [scheduled-task-pool-16] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:51:51.891 [wvp-21] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:51:52.946 [wvp-25] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000002, callId: PbzT26cw6beH5-EZAKR3mnJeakhbAclQ 2024-07-20 11:51:55.231 [wvp-28] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000001, callId: K8JRRsLaLuiXfv6xh9ihku2am4uhk1Mp 2024-07-20 11:51:59.454 [scheduled-task-pool-26] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:51:59.454 [scheduled-task-pool-26] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:01.891 [wvp-4] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:09.454 [scheduled-task-pool-18] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:52:09.454 [scheduled-task-pool-22] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:10.691 [wvp-23] INFO --- c.g.i.v.g.t.e.r.i.m.r.c.CatalogResponseMessageHandler: 132 [收到通道]设备: 34020000001320000001 -> 1个,1/1 2024-07-20 11:52:11.891 [wvp-11] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:16.356 [http-nio-18080-exec-3] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='233-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=40509, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:52:16.358 [http-nio-18080-exec-8] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:16.360 [wvp-10] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 235 [ZLM HOOK] 预览流未找到, 发起自动点播:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:16.361 [wvp-10] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 282 [点播开始] 已经请求中,等待结果, deviceId: 34020000001320000001, channelId: 34020000001320000001 2024-07-20 11:52:19.454 [scheduled-task-pool-11] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:52:19.454 [scheduled-task-pool-19] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:21.891 [wvp-17] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:29.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:52:29.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:31.891 [wvp-5] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:39.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:52:39.454 [scheduled-task-pool-8] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:41.891 [wvp-26] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:47.356 [http-nio-18080-exec-7] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 159 [ZLM HOOK] 播放鉴权成功:1010101010100->OnPlayHookParam{id='234-180', app='rtp', stream='34020000001320000001_34020000001320000001', ip='192.168.5.100', params='', port=39455, schema='rtmp', vhost='__defaultVhost__'} 2024-07-20 11:52:47.358 [http-nio-18080-exec-9] INFO --- c.genersoft.iot.vmp.media.zlm.ZLMHttpHookListener: 260 [ZLM HOOK] 流未找到:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:47.360 [wvp-7] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 235 [ZLM HOOK] 预览流未找到, 发起自动点播:1010101010100->rtmp->rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:47.361 [wvp-7] INFO --- com.genersoft.iot.vmp.service.impl.PlayServiceImpl: 282 [点播开始] 已经请求中,等待结果, deviceId: 34020000001320000001, channelId: 34020000001320000001 2024-07-20 11:52:49.454 [scheduled-task-pool-4] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForCatalogProcessor: 320 [待处理Notify-目录订阅消息数量]: 0 2024-07-20 11:52:49.454 [scheduled-task-pool-4] INFO --- c.g.i.v.g.t.e.r.i.NotifyRequestForMobilePositionProcessor: 193 [待处理Notify-移动位置订阅消息数量]: 0 2024-07-20 11:52:51.891 [wvp-14] INFO --- c.g.iot.vmp.media.zlm.ZLMMediaServerStatusManger: 110 [ZLM-HOOK事件-心跳] ID:1010101010100 2024-07-20 11:52:52.938 [wvp-22] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000002, callId: L7Cmu3qhXHLSRsnr-5ik3FcOZKE6-okL ^C2024-07-20 11:52:55.254 [wvp-12] INFO --- c.g.i.v.g.t.e.r.i.m.n.c.KeepaliveNotifyMessageHandler: 64 [收到心跳] device: 34020000001320000001, callId: x79i-l76lrWpWzcrW9ueelC1XDAfHTn1
2024-07-20 11:50:11.344 I [MediaServer] [1651582-event poller 27] TcpServer.cpp:50 ~TcpServer | Close tcp server [::]: 30138 2024-07-20 11:50:11.344 W [MediaServer] [1651582-event poller 27] RtpProcess.cpp:231 onDetach | 255(Server shutdown), stream_id: 34020000001320000001_34020000001320000001 2024-07-20 11:50:11.344 W [MediaServer] [1651582-event poller 27] RtpSession.cpp:66 onError | 174-178(192.168.5.201:44029) 34020000001320000001_34020000001320000001 255(Server shutdown) 2024-07-20 11:50:11.344 W [MediaServer] [1651582-event poller 27] RtpProcess.cpp:66 ~RtpProcess | 34020000001320000001_34020000001320000001(192.168.5.201:44029) RTP推流器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开,耗时(s):79 2024-07-20 11:50:11.345 I [MediaServer] [1651582-event poller 27] MediaSource.cpp:476 emitEvent | 媒体注销:hls://__defaultVhost__/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.345 I [MediaServer] [1651582-event poller 27] MediaSource.cpp:476 emitEvent | 媒体注销:ts://__defaultVhost__/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.346 I [MediaServer] [1651582-event poller 27] MediaSource.cpp:476 emitEvent | 媒体注销:rtsp://__defaultVhost__/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.346 W [MediaServer] [1651582-event poller 20] RtmpSession.cpp:28 onError | 172-184(192.168.5.100:38375) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:rtmp ring buffer detached,耗时(s):79 2024-07-20 11:50:11.346 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 1 1(end of file) 2024-07-20 11:50:11.346 I [MediaServer] [1651582-event poller 27] MediaSource.cpp:476 emitEvent | 媒体注销:rtmp://__defaultVhost__/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.346 I [MediaServer] [1651582-event poller 27] MediaSource.cpp:476 emitEvent | 媒体注销:fmp4://__defaultVhost__/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.346 I [MediaServer] [1651582-event poller 21] Rtsp.cpp:430 operator() | return port to pool:30138-30139 2024-07-20 11:50:11.346 I [MediaServer] [1651582-event poller 19] MediaSource.cpp:476 emitEvent | 媒体注销:hls://__defaultVhost__/rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.347 I [MediaServer] [1651582-event poller 19] MediaSource.cpp:476 emitEvent | 媒体注销:ts://__defaultVhost__/rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.348 I [MediaServer] [1651582-event poller 19] MediaSource.cpp:476 emitEvent | 媒体注销:rtsp://__defaultVhost__/rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:11.348 I [MediaServer] [1651582-event poller 19] MediaSource.cpp:476 emitEvent | 媒体注销:fmp4://__defaultVhost__/rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:13.350 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[0]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:13.350 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:50:13.350 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:50:13.350 I [MediaServer] [1651582-event poller 19] MediaSource.cpp:476 emitEvent | 媒体注销:rtmp://__defaultVhost__/rtmp/34020000001320000001_34020000001320000001 2024-07-20 11:50:13.350 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:50:13.350 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:50:13.351 I [MediaServer] [1651582-event poller 3] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:50:13.351 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:50:23.350 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:50:26.350 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[1]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:26.350 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:50:26.350 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:50:26.350 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:50:26.350 W [MediaServer] [1651582-event poller 3] RtmpSession.cpp:28 onError | 180-181(192.168.5.100:33241) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:end of file,耗时(s):12 2024-07-20 11:50:26.350 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:50:26.351 I [MediaServer] [1651582-event poller 17] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:50:26.351 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:50:36.350 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:50:41.354 W [MediaServer] [1651582-event poller 17] RtmpSession.cpp:28 onError | 194-180(192.168.5.100:44395) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:50:42.351 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[2]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:50:42.351 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:50:42.351 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:50:42.351 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:50:42.351 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:50:42.351 I [MediaServer] [1651582-event poller 6] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:50:42.352 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:50:52.351 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:50:57.355 W [MediaServer] [1651582-event poller 6] RtmpSession.cpp:28 onError | 211-180(192.168.5.100:35455) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:51:01.351 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[3]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:01.351 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:51:01.351 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:51:01.351 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:51:01.352 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:51:01.352 I [MediaServer] [1651582-event poller 24] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:51:01.352 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:51:01.361 I [MediaServer] [1651582-event poller 25] Rtsp.cpp:421 getPortPair | got port from pool:30070-30071 2024-07-20 11:51:01.362 I [MediaServer] [1651582-event poller 25] TcpServer.cpp:221 start_l | TCP server listening on [::]: 30070 2024-07-20 11:51:01.376 I [MediaServer] [1651582-event poller 25] TcpServer.cpp:50 ~TcpServer | Close tcp server [::]: 30070 2024-07-20 11:51:01.376 W [MediaServer] [1651582-event poller 25] RtpProcess.cpp:66 ~RtpProcess | 34020000001320000001_34020000001320000001(:::0) RTP推流器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开,耗时(s):0 2024-07-20 11:51:01.376 I [MediaServer] [1651582-event poller 25] Rtsp.cpp:430 operator() | return port to pool:30070-30071 2024-07-20 11:51:11.352 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:51:16.356 W [MediaServer] [1651582-event poller 24] RtmpSession.cpp:28 onError | 229-180(192.168.5.100:43137) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:51:23.352 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[4]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:23.352 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:51:23.352 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:51:23.352 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:51:23.352 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:51:23.353 I [MediaServer] [1651582-event poller 26] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:51:23.353 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:51:33.353 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:51:38.356 W [MediaServer] [1651582-event poller 26] RtmpSession.cpp:28 onError | 231-180(192.168.5.100:41675) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:51:48.353 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[5]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:51:48.353 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:51:48.353 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:51:48.353 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:51:48.353 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:51:48.353 I [MediaServer] [1651582-event poller 27] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:51:48.354 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:51:58.353 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:52:03.356 W [MediaServer] [1651582-event poller 27] RtmpSession.cpp:28 onError | 232-180(192.168.5.100:34289) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:52:16.353 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[6]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:16.353 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:52:16.353 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:52:16.353 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:52:16.353 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:52:16.353 I [MediaServer] [1651582-event poller 0] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:52:16.354 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:52:26.353 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout) 2024-07-20 11:52:31.357 W [MediaServer] [1651582-event poller 0] RtmpSession.cpp:28 onError | 233-180(192.168.5.100:40509) RTMP播放器(__defaultVhost__/rtp/34020000001320000001_34020000001320000001)断开:no such stream: __defaultVhost__/rtp/34020000001320000001_34020000001320000001,耗时(s):15 2024-07-20 11:52:47.353 W [MediaServer] [1651582-event poller 19] PlayerProxy.cpp:237 operator() | 重试播放[7]:rtmp://192.168.5.100:1935/rtp/34020000001320000001_34020000001320000001 2024-07-20 11:52:47.354 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:109 ~RtmpPlayerImp | 2024-07-20 11:52:47.354 D [MediaServer] [1651582-event poller 19] RtmpPlayerImp.h:34 ~FlvPlayerBase | 2024-07-20 11:52:47.354 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:30 ~RtmpPlayer | 2024-07-20 11:52:47.354 D [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:70 play | 192.168.5.100:1935 rtp 34020000001320000001_34020000001320000001 2024-07-20 11:52:47.354 I [MediaServer] [1651582-event poller 1] RtmpProtocol.cpp:442 check_C1_Digest | check rtmp complex handshark success! 2024-07-20 11:52:47.355 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:377 onRtmpChunk | can not support cmd:onBWDone 2024-07-20 11:52:57.355 W [MediaServer] [1651582-event poller 19] RtmpPlayer.cpp:105 onPlayResult_l | 2 2(play rtmp timeout)
配置文件
spring: # 设置接口超时时间 mvc: async: request-timeout: 20000 thymeleaf: cache: false # [可选]上传文件大小限制 servlet: multipart: max-file-size: 10MB max-request-size: 100MB cache: type: redis # REDIS数据库配置 redis: # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1 host: 127.0.0.1 # [必须修改] 端口号 port: 6379 # [可选] 数据库 DB database: 7 # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 password: # [可选] 超时时间 timeout: 10000 # mysql数据源 datasource: dynamic: primary: master datasource: master: type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=UTC username: wvp password: 123456 hikari: connection-timeout: 20000 # 是客户端等待连接池连接的最大毫秒数 initialSize: 50 # 连接池初始化连接数 maximum-pool-size: 200 # 连接池最大连接数 minimum-idle: 10 # 连接池最小空闲连接数 idle-timeout: 300000 # 允许连接在连接池中空闲的最长时间(以毫秒为单位) max-lifetime: 1200000 # 是池中连接关闭后的最长生命周期(以毫秒为单位) #[可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口 server: port: 18080 # [可选] HTTPS配置, 默认不开启 ssl: # [可选] 是否开启HTTPS访问 enabled: false # [可选] 证书文件路径,放置在resource/目录下即可,修改xxx为文件名 key-store: classpath:test.monitor.89iot.cn.jks # [可选] 证书密码 key-store-password: gpf64qmw # [可选] 证书类型, 默认为jks,根据实际修改 key-store-type: JKS # 作为28181服务器的配置 sip: # [必须修改] 本机的IP,对应你的网卡,监听什么ip就是使用什么网卡, # 如果要监听多张网卡,可以使用逗号分隔多个IP, 例如: 192.168.1.4,10.0.0.4 # 如果不明白,就使用0.0.0.0,大部分情况都是可以的 # 请不要使用127.0.0.1,任何包括localhost在内的域名都是不可以的。 ip: 0.0.0.0 # [可选] 28181服务监听的端口 port: 15060 # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007) # 后两位为行业编码,定义参照附录D.3 # 3701020049标识山东济南历下区 信息行业接入 # [可选] domain: 4101050000 # [可选] id: 41010500002000000001 # [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验 # password: # 是否存储alarm信息 alarm: true #zlm 默认服务器配置 media: id: 1010101010100 # [必须修改] zlm服务器的内网IP ip: 127.0.0.1 # [必须修改] zlm服务器的http.port http-port: 8088 # [可选] 返回流地址时的ip,置空使用 media.ip stream-ip: 192.168.5.100 # [可选] wvp在国标信令中使用的ip,此ip为摄像机可以访问到的ip, 置空使用 media.ip # 固定域名写入代码 MediaServer.java sdp-ip: 192.168.5.100 # [可选] zlm服务器的hook所使用的IP, 默认使用sip.ip hook-ip: 127.0.0.1 # [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置 http-ssl-port: # 录像保存时长 record-day: 30 # [可选] zlm服务器的hook.admin_params=secret secret: ****************************** # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试 rtp: # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输 enable: true # [可选] 在此范围内选择端口用于媒体流传输, 必须提前在zlm上配置该属性,不然自动配置此属性可能不成功 port-range: 30000,30500 # 端口范围 # [可选] 国标级联在此范围内选择端口发送媒体流, send-port-range: 50000,50300 # 端口范围 # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 record-assist-port: 0 # [根据业务需求配置] user-settings: # 点播/录像回放 等待超时时间,单位:毫秒 play-timeout: 180000 # [可选] 自动点播, 使用固定流地址进行播放时,如果未点播则自动进行点播, 需要rtp.enable=true auto-apply-play: true # 设备/通道状态变化时发送消息 device-status-notify: true # 国标是否录制 record-sip: true # 国标点播 按需拉流, true:有人观看拉流,无人观看释放, false:拉起后不自动释放 stream-on-demand: true # 是否将日志存储进数据库 logInDatabase: false
ZLM分析结论
rtsp源无法播放,你这个需要保证这个rtsp源是正常的,可以播放
所以摄像头重启后需要wvp处理,ZLM拉流代理是无法处理设备重启这种情况的 有大佬能修复吗?
你的rtsp源正常的情况下,zlm会自动拉起的,如果是重启了wvp没,那么启动的时候如果源不正常,那么就会拉流失败,后续需要手动启动
简单来说就是拉流代理在设备重启后失效了,辛苦作者或者各位路过的大佬看下有无可解之法 下边提供了控制台输出日志和wvp配置文件
ZLM也提了该问题
https://github.com/ZLMediaKit/ZLMediaKit/issues/3739
重现步骤:
配置全内网,wvp和ZLM均在服务器192.168.5.100上
wvp配置摄像头拉流代理成功,后台录制视频
重启摄像头(TP link 43AN), wvp设备列表中设备离线
重启完成:wvp设备列表显示设备在线
播放拉流代理,失败;停用拉流代理再启用,失败:提示地址不存在
对设备发起视频点播无响应,一直转圈,没有收流超时的提示
恢复办法
WVP日志:
ZLMediaServer 日志循环打印重试拉流,全部失败
配置文件