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
Category | Support |
---|---|
Input URLs | rtsp://* ,rtsp:* |
Audio Codecs | AAC ,MP3 ,AC3 ,ALAW ,ULAW ,PCM ,opus ,MP2 |
Video Codecs | H264 ,HEVC ,MPEG2 ,VP8 ,VP9 |
Subtitle | None |
Metadata | None |
Passthrough | None |
RTSP Optional configurations
Option | Description | Type | Default | API | Commandline |
---|---|---|---|---|---|
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) | 50000 | DVR | --buffer |
debug | The debug level at which messages need to be printed. | debug | Inherited from parent process | debug | --debug |
Memory page timeout | For 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 longer | Number (unsigned integer) | 15 | pagetimeout | --pagetimeout |
Simulated Live | Make this input run as a simulated live stream | Flag | Unset | realtime | --realtime |
Transport protocol | Sets the transport protocol to either TCP (default) or UDP. UDP requires ephemeral UDP ports to be open, TCP does not. | TCP = TCP UDP = UDP | TCP | transport | --transport |
Always on | Automatically starts this stream, regardless of viewers requesting it or not. Only available if the source is set to one of: rtsp://* | Boolean | false | always_on | undefined |