Sign inSign up

bartixxx32/dash-hls-stream

By bartixxx32

Updated over 5 years ago

Image
0

905

bartixxx32/dash-hls-stream repository overview

dash-hls-stream

A simple setup for live streaming RTMP to DASH and HLS with a focus on low latency.

  • Simple web UI using dash.js and native HTML5 video for HLS
  • Javascript detection for iOS
  • Configurable using environment variables
  • Supports security using stream key authentication

This project is a downstream of alfg/nginx-rtmp

Usage

Docker
docker run -it -p 1935:1935 -p 8080:80 sjsmart/dash-hls-stream
Docker Compose
services:
  dash:
    image: sjsmart/dash:latest
    ports:
      - '8080:8080'
      - '1935:1935'
    environment:
      DASH_STREAM_KEY: 'examplestreamkey'
      DASH_PROJECT_NAME: 'My Stream'

Parameters

ParameterFunction
-e DASH_PROJECT_NAME=ProjectNameUsed for the Web UI header and page title
-e DASH_STREAM_KEY=examplekeyOnly this stream key will be accepted
-e DASH_LIVE_DELAY=2Dash.js setLiveDelay()
-e DASH_LATENCY_MIN_DRIFT=0.05Dash.js setLowLatencyMinDrift()
-e DASH_CATCHUP_PLAYBACK_RATE=0.2Dash.js setCatchUpPlaybackRate()

Tag summary

Content type

Image

Digest

Size

47.3 MB

Last updated

over 5 years ago

docker pull bartixxx32/dash-hls-stream