Skip to content

SRT publishing authorization

media.publish.srt_streamkey

The receiving stream is selected by its SRT listening port. Configure passphrase to authenticate the source and encrypt the connection.

Purpose

Limit publication to encoders that know the receiving stream’s passphrase. In a cluster, connect the encoder to the address and SRT port of the streamer receiving that publication.

Difference from basic publishing

The srt_publish section configures both the listening port and its passphrase. A streamid value does not select a stream or authorize publication. An HTTP playback token is not an SRT passphrase.

Configuration

Set the port and passphrase on the receiving stream:

streams:
- name: studio
  srt_publish:
    port: 9000
    passphrase: verysecretpass
    latency_ms: 120

Use a passphrase of 10–79 bytes. Configure the sender with srt://server:9000?passphrase=verysecretpass. Each listening port belongs to one stream.

Next steps

Transport

MPEG-TS over SRT/UDP.

Supported codecs

The codec list is the same as for SRT publishing.