Auto stop transcoding session after 1 minute

Denis Vasiliev

New Member
Hello,

We are facing a stable issue with transcoding stopping after 1 minute. If we use less than one-minute session, there is no problem.

As we understand, it is related to parameter rtp_activity_detecting (default - true,60), but changing this parameter does not lead to anything, the session also stops after one minute.

We tried to specify:
rtp_activity_detecting=false
rtp_activity_detecting=false,240
rtp_activity_detecting=true,240

Also in one of the answers on the forum, you recommended using parameters:
rtp_activity_audio=true
rtp_activity_video=true
but they didn't solve the problem either.

Could you point out what exactly we are doing wrong?


Logs when the session stops:
Code:
08:25:06,033 WARN  RtpActivityTimerTask - FScheduling-pool-1-thread-3 RTP ACTIVITY EVENT DETECTED!
08:25:06,033 WARN  RtpActivityTimerTask - FScheduling-pool-1-thread-1 RTP ACTIVITY EVENT DETECTED!
08:25:06,082 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b Client subscribers count 2
08:25:06,082 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b ClientConfig{rtspMedia=falsertmpAgent=false, wsTunnel=false, login='6pg57jhpt0hu19q34v1ntfmqvl', 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=Thu Jan 20 08:23:52 UTC 2022, authToken='/195.138.64.159:50928/10.20.31.7:8443-509320f2-6e66-4f50-a4b2-efca41a89c95', logsFolderName='null', clientVersion='null', clientOSVersion='null', clientBrowserVersion='null', wsTunnelPacketization2='false', custom='{custom={token=c849r0vWjLNkM7NksFvCugnIJKYeDg}, origin=null}'}
08:25:06,084 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b Agent transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b changed state to STOPPED
08:25:06,088 INFO          MediaSession - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b Stop MediaSession id: 38ce4e9f-c67c-48f2-9554-471b9dbbaaa5
08:25:06,088 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b Client subscribers count 2
08:25:06,088 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1864-2fd7e7cc-3c19-4c1c-a0f8-0212366c823b ClientConfig{rtspMedia=falsertmpAgent=false, wsTunnel=false, login='6pg57jhpt0hu19q34v1ntfmqvl', 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=Thu Jan 20 08:23:52 UTC 2022, authToken='/195.138.64.159:50928/10.20.31.7:8443-509320f2-6e66-4f50-a4b2-efca41a89c95', logsFolderName='null', clientVersion='null', clientOSVersion='null', clientBrowserVersion='null', wsTunnelPacketization2='false', custom='{custom={token=c849r0vWjLNkM7NksFvCugnIJKYeDg}, origin=null}'}
08:25:06,088 INFO           WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-8 Disconnect client: com.flashphoner.server.client.MediaWCSClient@3fa9f4b1
08:25:06,089 INFO           WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-8
 

Denis Vasiliev

New Member
Perhaps the stop is not related to active connections, because the log indicates that there are subscriptions, but at the same time there is a stop at the end of the log.

How can we debug who exactly stops the session?

Code:
12:39:10,780 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1882-8f4f8fde-d4e2-4a80-87ca-fd9e5f19b74f Client subscribers count 2
12:39:10,780 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1882-8f4f8fde-d4e2-4a80-87ca-fd9e5f19b74f ClientConfig{rtspMedia=falsertmpAgent=false, wsTunnel=false, login='ksj3nubcothmu4k3gcpp7k4fhb', authenticationName='null', password='null$
12:39:10,781 INFO       TranscoderAgent - TRANSCODER-AGENT2-transcoder2://transcoder-owner1882-8f4f8fde-d4e2-4a80-87ca-fd9e5f19b74f Agent transcoder2://transcoder-owner1882-8f4f8fde-d4e2-4a80-87ca-fd9e5f19b74f changed state to STOPPED
12:39:10,781 INFO           WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4 Disconnect client: com.flashphoner.server.client.MediaWCSClient@313b53b2
12:39:10,782 INFO           WCS4Handler - DISCONNECT-CLIENT-pool-6-thread-4
 

Max

Administrator
Staff member
Try to modify this setting:

transcoder_agent_activity_timer_timeout=60000
 
Top