Skip to main content

Raw codec data over WebSocket (WS/Raw)

Raw codec data over Websockets. This makes use of our generic bidirectional websockets streaming transport specification.

Dependency on other protocol(s)​

DependencyDescription
HTTP(S)HTTP or HTTPS is required for the websocket connection
tip

Most browsers will not allow usage of the decoder unless the connection is over SSL or localhost

Playing WS/Raw from MistServer​

MethodTypeURL
Raw codec data over websocketswebrtcws(s)://HOST:PORT/STREAMNAME

Codec support​

CategorySupport
Audio CodecsEverything browser/player supports
Video CodecsEverything browser/player supports
SubtitleEverything browser/player supports
MetadataEverything browser/player supports

WS/Raw Optional configurations​

OptionDescriptionTypeDefaultAPICommandline
debugdebug level at which messages should be printedinteger3debug--debug
default track sortingWhat tracks are attempted first for playback/push when no specific tracks are requestedSelectOptimal encodingdefault_track_sorting--default_track_sorting
usernameUsername to drop privileges to, unset means do not drop privilegesstringunsetusername--username