Skip to content

Pushing SRT stream

Flussonic supports pushing SRT streams. Pushing streams via the SRT protocol is widely used when delivering video over the Internet or satellite network, because SRT guarantees low latency while offering some content delivery guarantees. Read more about SRT at Using SRT protocol.

Let us have a look at the configuration options.

Push from Flussonic

You can configure pushing SRT streams from Flussonic in the same way as for any other protocol as described on the Pushing a Stream to Other Servers page. For SRT, you should set the URL according to one of the following formats:

  • SRT parameters in the URL parameters:

    srt://SRT-HOST:SRT_PORT streamid="#!::r=STREAM_NAME,m=publish"

  • SRT parameters in the URL query string:

    srt://SRT-HOST:SRT_PORT?streamid=#!::r=STREAM_NAME,m=publish

where:

  • SRT-HOST is an IP address of the destination server.
  • SRT_PORT is an SRT port.
  • streamid is a string formatted as described here.
  • STREAM_NAME is a name of a publishing location to push the SRT stream to.

Let's have a look at the example:

stream push_srt {
  input fake://fake;
  push srt://example.com:9998 streamid="#!::r=my-stream-id,m=publish";
}

In the example above we enabled stream transmission (push) to the example.com server over port 9998.

Parameters for SRT push

You can also manage SRT push by passing certain parameters.

Example:

stream srt_push {
  input fake://fake;
  push srt://example.com:9998?streamid=#!::r=some_random_name&passphrase=1234567890;
}