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.83k stars 1.43k forks source link

docker运行,刚开始播放视频正常,过段时间无法播放视频显示收流超时 #841

Closed Yvan0329 closed 1 year ago

Yvan0329 commented 1 year ago

环境信息:

描述错误 启动的时候可以搜索到摄像头,并且可以播放视频,但是过一段时间(半分钟)左右就会断掉然后重连,网页的视频会黑屏一下再出现画面,重复几次之后,就无法播放视频,日志显示rtpServer收流超时。

如何复现 docker部署启动,刚启动就可以,过一段时间画面就出不来,收流超时

截图

image image

抓包文件

日志

7:C 08 May 2023 02:32:50.593 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
7:C 08 May 2023 02:32:50.593 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=7, just started
7:C 08 May 2023 02:32:50.593 # Configuration loaded
nohup: nohup: 把输出追加到 'nohup.out'把输出追加到 'nohup.out'

 ___       __   ___      ___ ________                ________  ________  ________     
|\  \     |\  \|\  \    /  /|\   __  \              |\   __  \|\   __  \|\   __  \    
\ \  \    \ \  \ \  \  /  / | \  \|\  \ ____________\ \  \|\  \ \  \|\  \ \  \|\  \   
 \ \  \  __\ \  \ \  \/  / / \ \   ____\\____________\ \   ____\ \   _  _\ \  \\\  \  
  \ \  \|\__\_\  \ \    / /   \ \  \___\|____________|\ \  \___|\ \  \\  \\ \  \\\  \ 
   \ \____________\ \__/ /     \ \__\                  \ \__\    \ \__\\ _\\ \_______\
    \|____________|\|__|/       \|__|                   \|__|     \|__|\|__|\|_______|

2023-05-08 02:32:52.619  INFO --- VManageBootstrap : Starting VManageBootstrap v2.6.8 using Java 11.0.18 on 84c8063d6022 with PID 11 (/opt/wvp/wvp-pro-2.6.8-05060629.jar started by root in /opt/wvp)
2023-05-08 02:32:52.625  INFO --- VManageBootstrap : No active profile set, falling back to 1 default profile: "default"
2023-05-08 02:32:54.479  INFO --- epositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode
2023-05-08 02:32:54.483  INFO --- epositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode.
2023-05-08 02:32:54.564  INFO --- epositoryConfigurationDelegate : Finished Spring Data repository scanning in 63 ms. Found 0 Redis repository interfaces.
2023-05-08 02:32:56.025  INFO --- TomcatWebServer : Tomcat initialized with port(s): 18080 (http)
2023-05-08 02:32:56.050  INFO --- Http11NioProtocol : Initializing ProtocolHandler ["http-nio-18080"]
2023-05-08 02:32:56.051  INFO --- StandardService : Starting service [Tomcat]
2023-05-08 02:32:56.051  INFO --- StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.65]
2023-05-08 02:32:56.164  INFO --- [/] : Initializing Spring embedded WebApplicationContext
2023-05-08 02:32:56.164  INFO --- letWebServerApplicationContext : Root WebApplicationContext: initialization completed in 3436 ms
2023-05-08 02:32:57.844  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.845  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/']
2023-05-08 02:32:57.845  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/#/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.846  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/#/**']
2023-05-08 02:32:57.846  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/static/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.846  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/static/**']
2023-05-08 02:32:57.846  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/index.html']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.846  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/index.html']
2023-05-08 02:32:57.846  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/doc.html']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.846  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/doc.html']
2023-05-08 02:32:57.846  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/webjars/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.847  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/webjars/**']
2023-05-08 02:32:57.847  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/swagger-resources/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.847  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/swagger-resources/**']
2023-05-08 02:32:57.847  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/v3/api-docs/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.847  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/v3/api-docs/**']
2023-05-08 02:32:57.847  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/js/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.847  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/js/**']
2023-05-08 02:32:57.847  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/api/device/query/snap/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.848  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/api/device/query/snap/**']
2023-05-08 02:32:57.848  WARN --- WebSecurity : You are asking Spring Security to ignore Ant [pattern='/record_proxy/*/**']. This is not recommended -- please use permitAll via HttpSecurity#authorizeHttpRequests instead.
2023-05-08 02:32:57.848  INFO --- DefaultSecurityFilterChain : Will not secure Ant [pattern='/record_proxy/*/**']
2023-05-08 02:32:57.888  INFO --- DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@499ef98e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@24934262, org.springframework.security.web.context.SecurityContextPersistenceFilter@2d9f64c9, org.springframework.security.web.header.HeaderWriterFilter@2b59501e, org.springframework.web.filter.CorsFilter@93f432e, org.springframework.security.web.authentication.logout.LogoutFilter@75a118e6, com.genersoft.iot.vmp.conf.security.JwtAuthenticationFilter@1440c311, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@52d6cd34, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@6428591a, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@288214b1, org.springframework.security.web.session.SessionManagementFilter@4339e0de, org.springframework.security.web.access.ExceptionTranslationFilter@3ab6678b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@5fcfca62]
2023-05-08 02:32:58.144  INFO --- WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2023-05-08 02:32:59.513  INFO --- Http11NioProtocol : Starting ProtocolHandler ["http-nio-18080"]
2023-05-08 02:32:59.538  INFO --- TomcatWebServer : Tomcat started on port(s): 18080 (http) with context path ''
2023-05-08 02:32:59.540  INFO --- ServiceInfo : 项目启动获取启动的端口号:  18080
2023-05-08 02:33:00.018  INFO --- VManageBootstrap : Started VManageBootstrap in 8.453 seconds (JVM running for 9.42)
2023-05-08 02:33:00.028  INFO --- AlarmNotifyMessageHandler : [SIP日志]已关闭
2023-05-08 02:33:00.067  WARN --- GB28181_SIP : using default tls security policy
2023-05-08 02:33:00.069  WARN --- GB28181_SIP : Using default keystore type pkcs12
2023-05-08 02:33:00.070  WARN --- GB28181_SIP : TLS server settings will be inactive - TLS key store will use JVM defaults keyStoreType=pkcs12 javax.net.ssl.keyStore=null javax.net.ssl.keyStorePassword=null
2023-05-08 02:33:00.070  INFO --- GB28181_SIP : javax.net.ssl.trustStorePassword is null, using the password passed through javax.net.ssl.keyStorePassword
2023-05-08 02:33:00.070  WARN --- GB28181_SIP : Using default truststore type pkcs12
2023-05-08 02:33:00.070  WARN --- GB28181_SIP : TLS trust settings will be inactive - TLS trust store will use JVM defaults. trustStoreType=pkcs12 javax.net.ssl.trustStore=null javax.net.ssl.trustStorePassword=null
2023-05-08 02:33:00.203  INFO --- SipLayer : [Sip Server] tcp://0.0.0.0:5060 启动成功
2023-05-08 02:33:00.210  INFO --- SipLayer : [Sip Server] udp://0.0.0.0:5060 启动成功
2023-05-08 02:33:00.252  INFO --- HikariDataSource : wvp - Starting...
2023-05-08 02:33:00.487  INFO --- HikariDataSource : wvp - Start completed.
2023-05-08 02:33:00.656  INFO --- ZLMRunner : [zlm] 等待默认zlm中...
2023-05-08 02:33:00.668  INFO --- MediaServerServiceImpl : [zlm] 缓存初始化 
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.alibaba.fastjson2.util.JDKUtils (jar:file:/opt/wvp/wvp-pro-2.6.8-05060629.jar!/BOOT-INF/lib/fastjson2-2.0.17.jar!/) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of com.alibaba.fastjson2.util.JDKUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-05-08 02:33:01.256  INFO --- MediaServerServiceImpl : [ZLM] 正在连接 : LtN06anlUQb1Nf4X -> 0.0.0.0:80
2023-05-08 02:33:01.563  INFO --- MediaServerServiceImpl : [ZLM] 正在设置 :LtN06anlUQb1Nf4X -> 0.0.0.0:80
2023-05-08 02:33:01.568  INFO --- MediaServerServiceImpl : [ZLM] 设置成功 LtN06anlUQb1Nf4X -> 0.0.0.0:80
2023-05-08 02:33:01.571  INFO --- MediaServerServiceImpl : [ZLM] 连接成功 LtN06anlUQb1Nf4X - 0.0.0.0:80 
2023-05-08 02:33:01.581  INFO --- ZLMStatusEventListener : [ZLM] 上线 ID:LtN06anlUQb1Nf4X
2023-05-08 02:33:01.628  INFO --- VManageBootstrap : 构建版本: 2.6.8
2023-05-08 02:33:01.629  INFO --- VManageBootstrap : 构建时间: 20230506
2023-05-08 02:33:01.629  INFO --- VManageBootstrap : GIT最后提交时间: 20230504
2023-05-08 02:33:10.569  INFO --- MediaServerServiceImpl : [zlm心跳到期]:LtN06anlUQb1Nf4X
2023-05-08 02:33:10.573  INFO --- MediaServerServiceImpl : [zlm心跳到期]:LtN06anlUQb1Nf4X验证后zlm仍在线,恢复心跳信息,请检查zlm是否可以正常向wvp发送心跳
2023-05-08 02:33:12.429  WARN --- MessageRequestProcessor : [设备未找到 ]deviceId: 37070000081118000001, callId: 772335923@192.168.155.188
2023-05-08 02:33:20.695  INFO --- [/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-05-08 02:33:20.695  INFO --- DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2023-05-08 02:33:20.697  INFO --- DispatcherServlet : Completed initialization in 2 ms
2023-05-08 02:34:12.292  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1d4c136f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:34:12.297  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@65c4985e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:34:12.300  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@18ee38e2 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:34:12.304  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4c33ba46 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:34:12.307  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@497bb003 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:34:12.335  WARN --- MessageRequestProcessor : [设备未找到 ]deviceId: 37070000081118000001, callId: 1567224166@192.168.155.188
2023-05-08 02:35:03.250  INFO --- SipSubscribe : [定时任务] 清理过期的SIP订阅信息
2023-05-08 02:35:12.299  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 开始处理: 172.17.0.1:49443
2023-05-08 02:35:12.308  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@79dcaf1e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:35:12.317  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@340a0f79 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:35:12.325  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@a309194 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:35:12.334  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@16086b93 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:35:12.354  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@6f7db95 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:35:12.422  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 远程地址为: 172.17.0.1:49443
2023-05-08 02:35:12.427  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 回复401: 172.17.0.1:49443
2023-05-08 02:35:12.505  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 开始处理: 172.17.0.1:49443
2023-05-08 02:35:12.523  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 远程地址为: 172.17.0.1:49443
2023-05-08 02:35:12.533  INFO --- RegisterRequestProcessor : [注册成功] deviceId: 37070000081118000001->172.17.0.1:49443
2023-05-08 02:35:12.534  INFO --- DeviceServiceImpl : [设备上线] deviceId:37070000081118000001->172.17.0.1:49443
2023-05-08 02:35:12.731  INFO --- KeepaliveNotifyMessageHandler : [心跳] 设备37070000081118000001地址变化, 远程地址为: 172.17.0.1:49443
2023-05-08 02:35:16.597  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:35:16.601  INFO --- ZLMRTPServerFactory : {"code":0,"port":30000}
2023-05-08 02:35:16.604  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30000, 收流模式:UDP, SSRC: 0102006279, SSRC校验:true
2023-05-08 02:35:16.615  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30000]
2023-05-08 02:35:16.771  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:35:16.941  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:54752/rtp/37070000081118000001_37070000081318000001?
2023-05-08 02:35:16.976  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 02:35:27.092  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:35:27.093  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:35:27.094  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:35:27.096  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:35:27.154  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":10,"app":"rtp","bytesSpeed":37,"createStamp":1683513317,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30000,"peer_ip":"172.17.0.1","peer_port":54752},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 02:35:27.230  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 02:35:27.231  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 02:35:27.251  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 02:35:28.238  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:36:12.585  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@1d347a62 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:37:01.939  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:01.939  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:01.940  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:01.951  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:01.951  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:02.836  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:02.861  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:02.872  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:37:02.879  INFO --- ZLMRTPServerFactory : {"code":0,"port":30002}
2023-05-08 02:37:02.879  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30002, 收流模式:UDP, SSRC: 0102009487, SSRC校验:true
2023-05-08 02:37:02.883  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30002]
2023-05-08 02:37:02.993  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:37:03.103  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:53276/rtp/37070000081118000001_37070000081318000001?
2023-05-08 02:37:03.133  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 02:37:12.950  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:12.967  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.414  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.415  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.414  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.427  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.429  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:37:14.432  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":11,"app":"rtp","bytesSpeed":33,"createStamp":1683513423,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30002,"peer_ip":"172.17.0.1","peer_port":53276},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 02:37:14.510  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 02:37:14.511  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 02:37:14.524  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 02:38:12.611  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@304cb034 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:12.622  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4a49f20f (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:12.626  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4d8cc67e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:12.629  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@189412eb (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:12.637  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@d68115c (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:12.642  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@35534950 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:38:49.974  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:38:49.974  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:38:49.974  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:38:49.978  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:38:49.978  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:01.863  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:01.875  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:01.886  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:39:01.888  INFO --- ZLMRTPServerFactory : {"code":0,"port":30004}
2023-05-08 02:39:01.888  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30004, 收流模式:UDP, SSRC: 0102008923, SSRC校验:true
2023-05-08 02:39:01.889  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30004]
2023-05-08 02:39:02.065  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:39:02.331  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:52501/rtp/37070000081118000001_37070000081318000001?
2023-05-08 02:39:02.343  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 02:39:12.380  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:12.380  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:12.380  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:12.380  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:39:12.383  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":10,"app":"rtp","bytesSpeed":37,"createStamp":1683513542,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30004,"peer_ip":"172.17.0.1","peer_port":52501},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 02:39:12.428  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 02:39:12.429  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 02:39:12.429  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 02:39:12.633  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:40:03.264  INFO --- SipSubscribe : [定时任务] 清理过期的SIP订阅信息
2023-05-08 02:40:12.579  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@a4e18d5 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:40:12.585  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4d4b4913 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:40:12.595  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@2a1164a1 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:40:12.597  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@50e35986 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:40:12.600  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@27c8689d (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:40:34.746  INFO --- ZLMHttpHookListener : [ZLM HOOK]流无人观看:{]->rtmp->rtp/37070000081118000001_37070000081318000001LtN06anlUQb1Nf4X
2023-05-08 02:40:34.766  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:40:34.770  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:40:34.770  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:40:34.791  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:40:34.795  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:41:54.379  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:41:54.400  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:41:54.427  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:41:54.432  INFO --- ZLMRTPServerFactory : {"code":0,"port":30006}
2023-05-08 02:41:54.432  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30006, 收流模式:UDP, SSRC: 0102008512, SSRC校验:true
2023-05-08 02:41:54.433  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30006]
2023-05-08 02:41:54.586  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:41:54.741  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:38856/rtp/37070000081118000001_37070000081318000001?
2023-05-08 02:41:54.758  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 02:42:04.541  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:04.567  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.405  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.405  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.411  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.416  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":11,"app":"rtp","bytesSpeed":32,"createStamp":1683513714,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30006,"peer_ip":"172.17.0.1","peer_port":38856},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 02:42:06.417  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.607  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 02:42:06.617  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 02:42:06.619  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:42:06.629  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 02:43:12.650  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@7c7066b7 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:43:12.662  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@2aa00f3b (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:43:12.680  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5f4db41 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:43:12.692  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@7ace5096 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:43:12.705  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4736b1e8 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:43:41.054  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:41.058  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:41.064  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:41.068  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:41.070  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:43.209  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:43.350  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:43.363  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:43:43.365  INFO --- ZLMRTPServerFactory : {"code":0,"port":30008}
2023-05-08 02:43:43.366  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30008, 收流模式:UDP, SSRC: 0102009905, SSRC校验:true
2023-05-08 02:43:43.367  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30008]
2023-05-08 02:43:43.533  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:43:43.659  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:52807/rtp/37070000081118000001_37070000081318000001?
2023-05-08 02:43:43.685  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 02:43:53.417  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:53.437  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:54.551  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:54.552  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:54.552  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:54.565  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":10,"app":"rtp","bytesSpeed":34,"createStamp":1683513823,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30008,"peer_ip":"172.17.0.1","peer_port":52807},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 02:43:54.565  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:43:54.641  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 02:43:54.642  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 02:43:54.644  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 02:43:56.939  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:05.478  INFO --- SipSubscribe : [定时任务] 清理过期的SIP订阅信息
2023-05-08 02:45:12.576  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5869cd93 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:45:12.583  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@7c24e611 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:45:12.594  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4034aa42 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:45:12.601  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@5627f282 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:45:12.607  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@631a144d (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:45:29.095  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.100  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.100  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.098  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.122  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.299  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.314  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:29.335  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:45:29.337  INFO --- ZLMRTPServerFactory : {"code":0,"port":30010}
2023-05-08 02:45:29.337  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30010, 收流模式:UDP, SSRC: 0102009103, SSRC校验:true
2023-05-08 02:45:29.338  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30010]
2023-05-08 02:45:29.613  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:45:39.468  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:39.493  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:44.347  INFO --- ZLMHttpHookListener : [ZLM HOOK] rtpServer收流超时:LtN06anlUQb1Nf4X->37070000081118000001_37070000081318000001(102009103)
2023-05-08 02:45:47.340  INFO --- PlayServiceImpl : [点播超时] 收流超时 deviceId: 37070000081118000001, channelId: 37070000081318000001,端口:30010, SSRC: 0102009103
2023-05-08 02:45:47.410  WARN --- SIPProcessorObserver : 接收到失败的response响应!status:481,message:Call Leg/Transaction Does Not Exist
2023-05-08 02:45:49.673  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:49.701  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:49.720  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:45:49.724  INFO --- ZLMRTPServerFactory : {"code":0,"port":30012}
2023-05-08 02:45:49.724  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30012, 收流模式:UDP, SSRC: 0102005003, SSRC校验:true
2023-05-08 02:45:49.726  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30012]
2023-05-08 02:45:49.894  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:45:59.896  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:45:59.909  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:46:04.727  INFO --- ZLMHttpHookListener : [ZLM HOOK] rtpServer收流超时:LtN06anlUQb1Nf4X->37070000081118000001_37070000081318000001(102005003)
2023-05-08 02:46:07.727  INFO --- PlayServiceImpl : [点播超时] 收流超时 deviceId: 37070000081118000001, channelId: 37070000081318000001,端口:30012, SSRC: 0102005003
2023-05-08 02:46:07.772  WARN --- SIPProcessorObserver : 接收到失败的response响应!status:481,message:Call Leg/Transaction Does Not Exist
2023-05-08 02:47:12.611  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@29c2f74e (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:47:12.619  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@44669ccd (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:47:12.623  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@378e66ab (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:47:12.627  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@9489f93 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:47:12.633  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@73e432f0 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 02:48:02.046  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:02.076  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:02.096  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:48:02.097  INFO --- ZLMRTPServerFactory : {"code":0,"port":30014}
2023-05-08 02:48:02.098  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30014, 收流模式:UDP, SSRC: 0102004185, SSRC校验:true
2023-05-08 02:48:02.098  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30014]
2023-05-08 02:48:02.287  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:48:12.278  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:12.308  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:17.104  INFO --- ZLMHttpHookListener : [ZLM HOOK] rtpServer收流超时:LtN06anlUQb1Nf4X->37070000081118000001_37070000081318000001(102004185)
2023-05-08 02:48:20.100  INFO --- PlayServiceImpl : [点播超时] 收流超时 deviceId: 37070000081118000001, channelId: 37070000081318000001,端口:30014, SSRC: 0102004185
2023-05-08 02:48:20.131  WARN --- SIPProcessorObserver : 接收到失败的response响应!status:481,message:Call Leg/Transaction Does Not Exist
2023-05-08 02:48:22.403  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:22.421  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:22.429  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 02:48:22.430  INFO --- ZLMRTPServerFactory : {"code":0,"port":30016}
2023-05-08 02:48:22.430  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30016, 收流模式:UDP, SSRC: 0102009376, SSRC校验:true
2023-05-08 02:48:22.431  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30016]
2023-05-08 02:48:22.623  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:49443 
2023-05-08 02:48:32.601  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:32.623  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 02:48:37.439  INFO --- ZLMHttpHookListener : [ZLM HOOK] rtpServer收流超时:LtN06anlUQb1Nf4X->37070000081118000001_37070000081318000001(102009376)
2023-05-08 02:48:40.432  INFO --- PlayServiceImpl : [点播超时] 收流超时 deviceId: 37070000081118000001, channelId: 37070000081318000001,端口:30016, SSRC: 0102009376
2023-05-08 02:48:40.495  WARN --- SIPProcessorObserver : 接收到失败的response响应!status:481,message:Call Leg/Transaction Does Not Exist

zlm配置文件

[api]
apiDebug=1
defaultSnap=./www/logo.png
secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
snapRoot=./www/snap/

[cluster]
origin_url=
retry_count=3
timeout_sec=15

[ffmpeg]
bin=/usr/bin/ffmpeg
cmd=%s -re -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
log=./ffmpeg/ffmpeg.log
restart_sec=0
snap=%s -i %s -y -f mjpeg -t 0.001 %s

[general]
check_nvidia_dev=1
enableVhost=0
enable_ffmpeg_log=0
flowThreshold=1024
maxStreamWaitMS=15000
mediaServerId=LtN06anlUQb1Nf4X
mergeWriteMS=0
resetWhenRePlay=1
streamNoneReaderDelayMS=20000
unready_frame_cache=100
wait_add_track_ms=3000
wait_track_ready_ms=10000

[hls]
broadcastRecordTs=0
deleteDelaySec=10
fileBufSize=65536
segDur=2
segKeep=0
segNum=3
segRetain=5
filePath=./www

[hook]
admin_params=035c73f7-bb6b-4889-a715-d9eb2d1925cc
alive_interval=30.000000
enable=1
on_flow_report=http://127.0.0.1:18080/index/hook/on_flow_report
on_http_access=http://127.0.0.1:18080/index/hook/on_http_access
on_play=http://127.0.0.1:18080/index/hook/on_play
on_publish=http://127.0.0.1:18080/index/hook/on_publish
on_record_mp4=http://127.0.0.1:18081/api/record/on_record_mp4
on_record_ts=http://127.0.0.1:18080/index/hook/on_record_ts
on_rtsp_auth=http://127.0.0.1:18080/index/hook/on_rtsp_auth
on_rtsp_realm=http://127.0.0.1:18080/index/hook/on_rtsp_realm
on_server_keepalive=http://127.0.0.1:18080/index/hook/on_server_keepalive
on_server_started=http://127.0.0.1:18080/index/hook/on_server_started
on_shell_login=http://127.0.0.1:18080/index/hook/on_shell_login
on_stream_changed=http://127.0.0.1:18080/index/hook/on_stream_changed
on_stream_none_reader=http://127.0.0.1:18080/index/hook/on_stream_none_reader
on_stream_not_found=http://127.0.0.1:18080/index/hook/on_stream_not_found
on_rtp_server_timeout=http://127.0.0.1:18080/index/hook/on_rtp_server_timeout
on_send_rtp_stopped=http://127.0.0.1:18080/index/hook/on_send_rtp_stopped
retry=1
retry_delay=3.000000
timeoutSec=20

[http]
charSet=utf-8
dirMenu=1
forbidCacheSuffix=
forwarded_ip_header=
keepAliveSecond=15
maxReqSize=40960
notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:cb92cd0/2023-04-20T11:04:23+08:00,branch:master,build time:2023-04-21T07:26:22)</center></body></html>
port=80
rootPath=./www
sendBufSize=65536
sslport=443
virtualPath=

[multicast]
addrMax=239.255.255.255
addrMin=239.0.0.0
udpTTL=64

[protocol]
add_mute_audio=1
continue_push_ms=15000
enable_audio=1
enable_fmp4=1
enable_hls=1
enable_mp4=0
enable_rtmp=1
enable_rtsp=1
enable_ts=1
fmp4_demand=0
hls_demand=0
hls_save_path=./www
modify_stamp=0
mp4_as_player=0
mp4_max_second=3600
mp4_save_path=./www
rtmp_demand=0
rtsp_demand=0
ts_demand=0

[record]
appName=record
fastStart=0
fileBufSize=65536
fileRepeat=0
sampleMS=500
filePath=./www
fileSecond=3600

[rtmp]
handshakeSecond=15
keepAliveSecond=15
modifyStamp=0
port=1935
sslport=19350

[rtp]
audioMtuSize=600
lowLatency=0
rtpMaxSize=10
videoMtuSize=1400

[rtp_proxy]
dumpDir=
gop_cache=1
h264_pt=98
h265_pt=99
opus_pt=100
port=10000
port_range=30000-35000
ps_pt=96
timeoutSec=15

[srt]
latencyMul=4
pktBufSize=8192
port=9000
timeoutSec=5

[rtc]
externIP=
port=8000
preferredCodecA=PCMU,PCMA,opus,mpeg4-generic
preferredCodecV=H264,H265,AV1X,VP9,VP8
rembBitRate=0
timeoutSec=15

[rtsp]
authBasic=0
directProxy=1
handshakeSecond=15
keepAliveSecond=15
lowLatency=0
port=554
sslport=332

[shell]
maxReqSize=1024
port=9000

wvp配置文件

spring:
    # 上传文件大小限制
    servlet:
        multipart:
            max-file-size: 10MB
            max-request-size: 100MB
    # REDIS数据库配置
    redis:
        # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
        host: 127.0.0.1
        # [必须修改] 端口号
        port: 6379
        # [可选] 数据库 DB
        database: 6
        # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
        password: 
        # [可选] 超时时间
        timeout: 10000
    # [必选] jdbc数据库配置
    datasource:
        # 使用mysql 打开23-28行注释, 删除29-36行
         name: wvp
         url: jdbc:mysql://10.0.1.155:33306/wvp2?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&allowMultiQueries=true&useSSL=false&allowMultiQueries=true
         username: root
         password: xmazd2022
         type: com.zaxxer.hikari.HikariDataSource
         driver-class-name: com.mysql.cj.jdbc.Driver
         hikari:
            connection-timeout: 20000             # 是客户端等待连接池连接的最大毫秒数
            initialSize: 10                       # 连接池初始化连接数
            maximum-pool-size: 200                # 连接池最大连接数
            minimum-idle: 5                       # 连接池最小空闲连接数
            idle-timeout: 300000                  # 允许连接在连接池中空闲的最长时间(以毫秒为单位)
            max-lifetime: 1200000                 # 是池中连接关闭后的最长生命周期(以毫秒为单位)

# [可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
server:
    port: 18080

# 作为28181服务器的配置
sip:
    # [必须修改] 本机的IP
    ip: 0.0.0.0
    # [可选] 28181服务监听的端口
    port: 5060
    # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007)
    # 后两位为行业编码,定义参照附录D.3
    # 3701020049标识山东济南历下区 信息行业接入
    # [可选]
    domain: ${WVP_DOMAIN:4401020049}
    # [可选]
    id: ${WVP_ID:44010200492000000001}
    # [可选] 默认设备认证密码,后续扩展使用设备单独密码, 移除密码将不进行校验
    password: ${WVP_PWD:admin123}
    # [可选] 没有任何业务需求,仅仅是在前端展示的时候用
    show-ip: 192.168.155.109

#zlm 默认服务器配置
media:
    # [必须修改] zlm服务器唯一id,用于触发hook时区别是哪台服务器,general.mediaServerId
    id: LtN06anlUQb1Nf4X
    # [必须修改] zlm服务器的内网IP
    ip: 0.0.0.0
    # [必须修改] zlm服务器的http.port
    http-port: 80
    # [可选] zlm服务器的hook.admin_params=secret
    secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc
    # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试
    rtp:
        # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输
        enable: true
        # [可选] 在此范围内选择端口用于媒体流传输,
        port-range: 30000,30500 # 端口范围
        # [可选] 国标级联在此范围内选择端口发送媒体流,
        send-port-range: 30000,30500 # 端口范围
    # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用
    record-assist-port: 18081
    sdp-ip: 192.168.155.109
    stream-ip: 192.168.155.109
    hook-ip: 192.168.155.109
# [可选] 日志配置, 一般不需要改
logging:
    config: classpath:logback-spring-local.xml

# 关闭在线文档(生产环境建议关闭)
springdoc:
    api-docs:
        enabled: true
    swagger-ui:
        enabled: true

# [根据业务需求配置]
user-settings:
    # 推流直播是否录制
    record-push-live: true
    auto-apply-play: true
648540858 commented 1 year ago

把无人观看自动取消点播的时间设置长一点

Yvan0329 commented 1 year ago

把无人观看自动取消点播的时间设置长一点

streamNoneReaderDelayMS=200000 我把这个参数设置大了也没有效果,还是一样的,播放一会就会断开

2023-05-08 03:10:12.670  WARN --- MessageRequestProcessor : [设备未找到 ]deviceId: 37070000081118000001, callId: 568820740@192.168.155.188
2023-05-08 03:11:12.591  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 开始处理: 172.17.0.1:42102
2023-05-08 03:11:12.615  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 远程地址为: 172.17.0.1:42102
2023-05-08 03:11:12.616  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 回复401: 172.17.0.1:42102
2023-05-08 03:11:12.690  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 开始处理: 172.17.0.1:42102
2023-05-08 03:11:12.698  INFO --- RegisterRequestProcessor : [注册请求] 设备:37070000081118000001, 远程地址为: 172.17.0.1:42102
2023-05-08 03:11:12.702  INFO --- RegisterRequestProcessor : [注册成功] deviceId: 37070000081118000001->172.17.0.1:42102
2023-05-08 03:11:12.702  INFO --- DeviceServiceImpl : [设备上线] deviceId:37070000081118000001->172.17.0.1:42102
2023-05-08 03:11:12.878  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@f97b58c (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:11:12.884  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3bec3bce (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:11:12.890  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@39d0a7c1 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:11:12.896  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@bd94ea2 (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:11:18.777  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 03:11:18.779  INFO --- ZLMRTPServerFactory : {"code":0,"port":30000}
2023-05-08 03:11:18.781  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30000, 收流模式:UDP, SSRC: 0102002226, SSRC校验:true
2023-05-08 03:11:18.796  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30000]
2023-05-08 03:11:18.954  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:42102 
2023-05-08 03:11:19.103  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:59857/rtp/37070000081118000001_37070000081318000001?
2023-05-08 03:11:19.130  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 03:11:29.275  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:11:29.276  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:11:29.277  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:11:29.278  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:11:29.294  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":10,"app":"rtp","bytesSpeed":37,"createStamp":1683515479,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30000,"peer_ip":"172.17.0.1","peer_port":59857},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 03:11:29.380  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 03:11:29.380  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 03:11:29.395  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
2023-05-08 03:11:30.239  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.108  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.108  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.109  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.114  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.117  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@252afc5a (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:13:04.119  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注销, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:04.125  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@4e4d94cf (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:13:04.146  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@3432a80c (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:13:04.157  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@46885afc (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:13:04.166  WARN --- PoolBase : wvp - Failed to validate connection com.mysql.cj.jdbc.ConnectionImpl@26de0b5d (No operations allowed after connection closed.). Possibly consider using a shorter maxLifetime value.
2023-05-08 03:13:06.294  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:06.313  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:06.324  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 03:13:06.328  INFO --- ZLMRTPServerFactory : {"code":0,"port":30002}
2023-05-08 03:13:06.328  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30002, 收流模式:UDP, SSRC: 0102001476, SSRC校验:true
2023-05-08 03:13:06.330  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30002]
2023-05-08 03:13:12.783  INFO --- KeepaliveNotifyMessageHandler : [心跳] 设备37070000081118000001地址变化, 远程地址为: 172.17.0.1:54901
2023-05-08 03:13:17.035  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:17.065  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:21.336  INFO --- ZLMHttpHookListener : [ZLM HOOK] rtpServer收流超时:LtN06anlUQb1Nf4X->37070000081118000001_37070000081318000001(102001476)
2023-05-08 03:13:24.329  INFO --- PlayServiceImpl : [点播超时] 收流超时 deviceId: 37070000081118000001, channelId: 37070000081318000001,端口:30002, SSRC: 0102001476
2023-05-08 03:13:28.006  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:28.023  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:28.029  INFO --- ZLMRTPServerFactory : {"code":0,"exist":false}
2023-05-08 03:13:28.030  INFO --- ZLMRTPServerFactory : {"code":0,"port":30004}
2023-05-08 03:13:28.030  INFO --- PlayServiceImpl : [点播开始] deviceId: 37070000081118000001, channelId: 37070000081318000001,收流端口:30004, 收流模式:UDP, SSRC: 0102008256, SSRC校验:true
2023-05-08 03:13:28.031  INFO --- SIPCommander : 37070000081118000001_37070000081318000001 分配的ZLM为: LtN06anlUQb1Nf4X [192.168.155.109:30004]
2023-05-08 03:13:28.177  INFO --- InviteResponseProcessor : [回复ack] 37070000081318000001-> 172.17.0.1:54901 
2023-05-08 03:13:28.317  INFO --- ZLMHttpHookListener : [ZLM HOOK]推流鉴权:LtN06anlUQb1Nf4X->rtp://172.17.0.1:46545/rtp/37070000081118000001_37070000081318000001?
2023-05-08 03:13:28.339  INFO --- ZLMHttpHookListener : 推流时发现尚未设置录像路径,从assist服务中读取
2023-05-08 03:13:39.014  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:39.031  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流未找到, 发起自动点播:LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.374  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtmp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.377  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->rtsp->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.377  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->ts->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.381  INFO --- PlayServiceImpl : 收到订阅消息: {"aliveSecond":11,"app":"rtp","bytesSpeed":31,"createStamp":1683515608,"docker":false,"mediaServerId":"LtN06anlUQb1Nf4X","originSock":{"identifier":"37070000081118000001_37070000081318000001","local_ip":"172.17.0.2","local_port":30004,"peer_ip":"172.17.0.1","peer_port":46545},"originType":3,"originTypeStr":"rtp_push","originUrl":"rtp://__defaultVhost__/rtp/37070000081118000001_37070000081318000001","regist":true,"schema":"rtsp","stream":"37070000081118000001_37070000081318000001","totalReaderCount":"0","tracks":[{"channels":1,"codecId":0,"codecType":0,"fps":0,"height":0,"ready":true,"sampleBit":0,"sampleRate":0,"width":0},{"channels":0,"codecId":0,"codecType":0,"fps":25,"height":1080,"ready":true,"sampleBit":0,"sampleRate":0,"width":1920}],"vhost":"__defaultVhost__"}
2023-05-08 03:13:40.381  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->fmp4->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.398  INFO --- ZLMHttpHookListener : [ZLM HOOK] 流注册, LtN06anlUQb1Nf4X->hls->rtp/37070000081118000001_37070000081318000001
2023-05-08 03:13:40.461  INFO --- PlayServiceImpl : [点播成功] deviceId: 37070000081118000001, channelId: 37070000081318000001
2023-05-08 03:13:40.463  INFO --- PlayServiceImpl : [请求截图]: 37070000081118000001_37070000081318000001.jpg
2023-05-08 03:13:40.464  INFO --- ZLMRESTfulUtils : Request{method=GET, url=http://0.0.0.0/index/api/getSnap?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&expire_sec=1&url=rtsp%3A%2F%2F127.0.0.1%3A554%2Frtp%2F37070000081118000001_37070000081318000001&timeout_sec=15}
648540858 commented 1 year ago

你把点播的流类型换成tcp被动试试

Yvan0329 commented 1 year ago

Referen

TCP被动正常使用,视频不会断开重连。F12网络也没有重连请求,Log也没有断开重连

648540858 commented 1 year ago

那就大概明白了。你之前的断开应该是rtcp断开了。目前咱们时自动开启rtcp保活的,如果必须解决得抓包看看rtcp为何不通了,欢迎来知识星球提问,这里有zlm大佬可以一起讨论下, 1683517740137