RtspAgent Shutdown error in H.264 rtsp stream

Hello,

We are experiencing rtsp disconnect after about 1 minute. Here is disconnect log.

10:48:00,604 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 Shutdown
10:48:00,604 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 build auth header: pbochan 123456789012G rtsp://172.16.25.232:554/stream1/ TEARDOWN
10:48:00,604 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 built auth header: Basic cGJvY2hhbjoxMjM0NTY3ODkwMTJH
10:48:00,604 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 Set auth header: Basic cGJvY2hhbjoxMjM0NTY3ODkwMTJH
10:48:00,606 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 Channel closed
10:48:00,610 INFO RtspAgent - RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7 Disconnect from media engine
10:48:00,611 INFO WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4 Disconnect client: com.flashphoner.server.client.MediaWCSClient@1454af55
10:48:00,611 INFO WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4
[-- BEGIN CLIENT LOG --]
CONF: ClientConfig{rtspMedia=true, rtmpAgent=false, wsTunnel=false, login='crcfrlo53fovd46d5f7bave7m7', authenticationName='null', password='null', domain='null', outboundProxy='null', port=0, visibleName='null', regRequired=false, applicationName='null', swfUrl='null', qValue='null', pAssociatedUri='null', contactParams='null', authDate=Tue Nov 28 10:46:01 EET 2023, authToken='a2ee2594-cc7d-4b31-bd2c-8a3ca080891b', logsFolderName='null', clientVersion='null', clientOSVersion='null', clientBrowserVersion='null', wsTunnelPacketization2='false', custom='{}'}
IMPL: Thread[RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7,5,]
LOGS:
Client didn't pushed logs to server, try to enable push_log at client side.
[-- END CLIENT LOG ----]
10:48:00,612 INFO WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4 Report client-crcfrlo53fovd46d5f7bave7m7-2023.11.28.10.48.00-1701161280612.report is submitted
10:48:00,612 INFO MediaWCSClient - DISCONNECT-CLIENT-pool-6-thread-4 Stop media session c8a2ab43-4fa6-4e41-a1c1-38d8ba59ba9b
10:48:00,613 INFO MediaSession - DISCONNECT-CLIENT-pool-6-thread-4 Stop MediaSession id: c8a2ab43-4fa6-4e41-a1c1-38d8ba59ba9b
10:48:00,622 INFO MediaSession - DISCONNECT-CLIENT-pool-6-thread-4 'c8a2ab43-4fa6-4e41-a1c1-38d8ba59ba9b' has been terminated
10:48:00,626 INFO WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4
[-- BEGIN CLIENT LOG --]
CONF: ClientConfig{rtspMedia=true, rtmpAgent=false, wsTunnel=false, login='crcfrlo53fovd46d5f7bave7m7', authenticationName='null', password='null', domain='null', outboundProxy='null', port=0, visibleName='null', regRequired=false, applicationName='null', swfUrl='null', qValue='null', pAssociatedUri='null', contactParams='null', authDate=Tue Nov 28 10:46:01 EET 2023, authToken='a2ee2594-cc7d-4b31-bd2c-8a3ca080891b', logsFolderName='null', clientVersion='null', clientOSVersion='null', clientBrowserVersion='null', wsTunnelPacketization2='false', custom='{}'}
IMPL: Thread[RTSP-AGENT-rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7,5,]
LOGS:
Client didn't pushed logs to server, try to enable push_log at client side.
[-- END CLIENT LOG ----]
10:48:00,630 INFO WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4 Report client-crcfrlo53fovd46d5f7bave7m7-2023.11.28.10.48.00-1701161280630.report is submitted
10:48:00,631 INFO RestClient - API-ASYNC-pool-13-thread-3 SEND REST OBJECT ==>
URL:http://localhost:5000/StreamStatusEvent
OBJECT:
{
"nodeId" : "lPWRiErn0GrRF3ErZAFV2jWv8E1ceDtc@192.168.152.128",
"appKey" : "defaultApp",
"sessionId" : "rtsp://pbochan:pass@172.16.25.232/stream1-78e10879-8886-4a02-8dad-163285020cc7",
"mediaSessionId" : "c8a2ab43-4fa6-4e41-a1c1-38d8ba59ba9b",
"name" : "sample_live/_definst_/streamm",
"published" : true,
"hasVideo" : true,
"hasAudio" : true,
"status" : "FAILED",
"audioCodec" : "PCMA/8000/1",
"videoCodec" : "H264",
"info" : "Stopped by session disconnect",
"record" : false,
"width" : 1920,
"height" : 1080,
"bitrate" : 0,
"minBitrate" : 0,
"maxBitrate" : 0,
"quality" : 0,
"history" : false,
"gop" : 0,
"fps" : 0,
"audioBitrate" : 0,
"codecImpl" : "",
"transport" : "UDP",
"cvoExtension" : false,
"createDate" : 1701161161997,
"mediaType" : "pull",
"audioState" : {
"muted" : false
},
"videoState" : {
"muted" : false
},
"mediaProvider" : "RTSP"
}

How can we fix it?

Thanks,
P
 
Top