Click or drag to resize

MediaInactivityTimeoutConfig Properties

The MediaInactivityTimeoutConfig type exposes the following members.

Properties
 NameDescription
Public propertyAudioOnHoldTimeoutSeconds Maximum allowed time without receiving RTP packets while the call is on hold, measured in seconds. Set to 0 to disable timeout checks during hold. This value should always be greater than AudioTimeoutSeconds, because the on-hold state is expected to tolerate longer periods of silence.
Public propertyAudioStartupGraceSeconds Grace period in seconds before timeout checks start. Useful to avoid false positives during startup.
Public propertyAudioTimeoutSeconds Maximum allowed time without receiving RTP packets, measured in seconds. Set to 0 to disable timeout checks during a call.
Public propertyCountRtcpAsActivity Determines whether RTCP (control) packets are considered activity for timeout checks. If true, the most recent RTCP packet can reset the timeout timer. If false, only RTP packets are used. This is important for codecs like Opus with DTX enabled, where silence produces no RTP but RTCP packets may still flow.
Top
See Also