nginx-stream-server

module
v0.0.0-...-d98f1c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: MIT

README

nginx-stream-server

A very simple live-streaming server based on nginx.

Run it locally using Docker

docker run --rm -it -p 8080:80 -p 1935:1935 -e PUBLISH_PASSWORD=my-secret jbacic/nginx-stream-server

Server: rtmp://localhost/live

Stream Key: <your_key>?pwd=my-secret

where <your-key> is an unique stream name.

HLS stream can be accessed at:

http://localhost:8080/hls/<your-key>.m3u8

Run it on Kubernetes (helm chart)

git clone git@github.com:jakub-bacic/nginx-stream-server.git
cd nginx-stream-server
helm install --set publishPassword=<my-secret> my-release ./charts/nginx-stream-server

How to start streaming?

  1. Install and launch OBS Studio
  2. Click on Settings.
  3. Enter Stream tab.
  4. Choose Custom... as Service and fill Server and Stream Key accordingly.
  5. Save the configuration and click Start Streaming.

Directories

Path Synopsis
cmd
gcs-proxy command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL