Skip to content

Instantly share code, notes, and snippets.

@BruceWind
Created May 10, 2021 08:37
Show Gist options
  • Save BruceWind/ad7cbba25b6bb1463fcadc124add48f3 to your computer and use it in GitHub Desktop.
Save BruceWind/ad7cbba25b6bb1463fcadc124add48f3 to your computer and use it in GitHub Desktop.
establish rtmp server in ossrs.

If you want all of play protocols, this docker image is first recommendation.

docker pull ossrs/srs:3
docker run --rm -p 1935:1935 -p 1985:1985 -p 8080:8080 ossrs/srs:3

push url:

rtmp://localhost/live/live

play url:

rtmp://localhost/live/live;

http://localhost:8080/live/live.flv;

http://localhost:8080/live/live.m3u8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment