Skip to main content

JSON lines over raw TCP

Real time JSON line-by-line input over a raw TCP socket or standard input

JSONLine Required configurations

OptionDescriptionTypeDefaultAPICommandline
StreamWhat streamname to serve. For multiple streams, add this protocol multiple times using different ports.StringUnsetstreamname--stream

JSONLine Optional configurations

OptionDescriptionTypeDefaultAPICommandline
CodecWhat codec to ingest asStringJSONcodec--codec
debugThe debug level at which messages need to be printed.debugInherited from parent processdebug--debug
Default track sortingWhat tracks are selected first when no specific track selector is used for playback. = Default (last added for live, first added for VoD)
bps_lth = Bit rate, low to high
bps_htl = Bit rate, high to low
id_lth = Track ID, low to high
id_htl = Track ID, high to low
res_lth = Resolution, low to high
res_htl = Resolution, high to low
default_track_sorting--default_track_sorting
InterfaceAddress of the interface to listen onString0.0.0.0interface--interface
TCP portTCP port to listen onNumber (unsigned integer)3456port--port
UsernameUsername to drop privileges to - default if unprovided means do not drop privilegesStringrootusername--username