Public | Automated Build

Last pushed: 4 months ago
Short Description
Live streaming server
Full Description

    

Docker Streaming Server

A robust way of streaming media content live using the NGINX web server and its RTMP module.

Installation

Builds of the image are available on Docker Hub.

docker pull codeworksio/streaming-server

Alternatively you can build the image yourself.

docker build --tag codeworksio/streaming-server \
    github.com/codeworksio/docker-streaming-server

Quickstart

Start container using:

docker run --detach --restart always \
    --name streaming-server \
    --hostname streaming-server \
    --publish 1935:1935 \
    --publish 8080:8080 \
    --publish 8443:8443 \
    codeworksio/streaming-server

Example

  1. Start the streaming server and consumer from the command line

     cd ./documents/examples
     docker-compose up -d
    
  2. Use Open Broadcaster Software to stream your content

    • Add media source, e.g. Video Capture Device
    • Configure streaming server (Settings > Stream)
      • Stream type: Custom Streaming Server
      • URL: rtmp://localhost/live
      • Stream key: test
    • Press Start Streaming button
  3. Go to http://localhost:9999 URL address in your browser to view the media live.

See

Docker Pull Command
Owner
codeworksio

Comments (0)