RtmpServerInputSettings.mediaTimeoutMs property
When set, a connection that stops delivering media (audio and video) for this many milliseconds is torn down, even if it keeps sending non-media RTMP control traffic. Catches a wedged/dead publisher whose control bytes would otherwise keep the connection alive indefinitely. Unset = disabled.
Signature:
mediaTimeoutMs?: number;