Dockerized version of Edward Wu's SRT Live Server (SLS) and Haivision's SRT SDK All credit should go to the original tool author(s) - this is just a dockerization for convenience and portability.
Dockerized version of Edward Wu's SRT Live Server (SLS) and Haivision's SRT SDK All credit should go to the original tool author(s) - this is just a dockerization for convenience and portability.
To build, just execute the script build.sh
.
To deploy in Akamai Connected Cloud, just execute the script deploy.sh
.
You can customize your deployment by editing the file iac/settings.json
. If the file doesn't exist, just create it
using the content of the template iac/settings.json.template
. You also will need to set up the credentials of the
Akamai Connected Cloud in the file iac/.credentials
. If the file doesn't exist, just create it using the content of
the template iac/.credentials.template
. Go to the Akamai Cloud Manager, create your API credential and then update
the iac/.credentials
file.
1935/UDP
. Note that SRT doesn't technically have a default protocol port, so you will have to1935/TCP
is what RTMP uses, so this makes it simpler to remember.200ms
. (Nimble Streamer recommended no lower than 120ms
no matter what, Haivision can do lowerIf you want to customize the settings, just specify the following environment variables in the iac/docker-compose.yml
:
LATENCY (Default 200)
THREADS (Default 2)
CONNECTIONS (Default 300)
BACKLOG (Default 100)
IDLE_TIMEOUT (Default 60)
LISTEN_PORT (Default 1935)
Example Sending of SRT in OBS:
srt://<your.server.ip>:1935?streamid=stream/live/<yourstreamname>
.Example of Receiving of SRT in OBS:
srt://<your.server.ip>:1935?streamid=play/live/<yourstreamname>
.