Skip to main content

TSSRT input

This input allows for processing MPEG2-TS-based SRT streams. Use mode=listener for push input.

TSSRT Core

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

TSSRT Support Matrix

CategorySupport
Input URLssrt://*,
tssrt:*
Audio CodecsAAC,MP3,AC3,MP2,opus
Video CodecsH264,HEVC,MPEG2
SubtitleNone
MetadataNone
Passthroughrawts

TSSRT 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
Acceptable pushed streamidsWhat to do with the streamids for incoming pushes, if this is a listener SRT connection0 = Set streamid as wildcard
1 = Ignore all streamids
2 = Disallow non-matching streamid
0acceptable--acceptable
MPEG Data track parserWhich parser to use for data tracks = None / disabled
json = 2b size-prepended JSON
datatrack--datatrack
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
Raw input modeEnable raw MPEG-TS passthrough modeFlagUnsetraw--raw
Simulated LiveMake this input run as a simulated live streamFlagUnsetrealtime--realtime
Always onAutomatically starts this stream, regardless of viewers requesting it or not. Only available if the source is set to one of:
srt://*
Booleanfalsealways_onundefined