Skip to main content

RTSP input

This input allows pulling of live RTSP sources over either UDP or TCP.

RTSP Core

Every input within MistServer requires a Stream name and Source to understand what these mean exactly we recommend reading up on Stream settings

RTSP Support Matrix

CategorySupport
Input URLsrtsp://*,
rtsp:*
Audio CodecsAAC,MP3,AC3,ALAW,ULAW,PCM,opus,MP2
Video CodecsH264,HEVC,MPEG2,VP8,VP9
SubtitleNone
MetadataNone
PassthroughNone

RTSP Optional configurations

OptionDescriptionTypeDefaultAPICommandline
Buffer time (ms)The target available buffer time for this live stream, in milliseconds. This is the time available to seek around in, and will automatically be extended to fit whole keyframes as well as the minimum duration needed for stable playback.Number (unsigned integer)50000DVR--buffer
debugThe debug level at which messages need to be printed.debugInherited from parent processdebug--debug
Memory page timeoutFor bufferless or live inputs like HLS, set the timeout in seconds for old, inactive pages to be deleted. A longer value results in more memory usage, but ensures that recently buffered data stays in memory for longerNumber (unsigned integer)15pagetimeout--pagetimeout
Simulated LiveMake this input run as a simulated live streamFlagUnsetrealtime--realtime
Transport protocolSets the transport protocol to either TCP (default) or UDP. UDP requires ephemeral UDP ports to be open, TCP does not.TCP = TCP
UDP = UDP
TCPtransport--transport
Always onAutomatically starts this stream, regardless of viewers requesting it or not. Only available if the source is set to one of:
rtsp://*
Booleanfalsealways_onundefined