Skip to content

Commit

Permalink
epicmorg/balancer:rtmp-hls
Browse files Browse the repository at this point in the history
  • Loading branch information
stamepicmorg committed Aug 4, 2020
1 parent bd9af5c commit 759b6ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions balancer/rtmp-hls/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ All modules are built from source on Debian and Alpine Linux base images.
* DASH is ON
* Other Nginx configuration files are also provided to allow for RTMP-only streams or no-FFmpeg transcoding.
* Statistic page of RTMP streams at `http://<server ip>:<server port>/stats`.
* Available web video players (based on [video.js](https://videojs.com/) and [hls.js](https://github.com/video-dev/hls.js/)) at `/usr/local/nginx/html/players`.
* Available web video players (based on [video.js](https://videojs.com/) and [hls.js](https://github.com/video-dev/hls.js/)) at `/usr/share/nginx/html/players`.

## Usage

Expand Down Expand Up @@ -71,7 +71,7 @@ The provided demo players assume the stream-key is called `test` and the player
* These web players are hardcoded to play stream key "test" at localhost.
* To change the stream source for these players. Download the html files and modify the `src` attribute in the video tag in the html file. You can then mount the modified files to the container as follows:
```
docker run -d -p 1935:1935 -p 8080:8080 -v custom_players:/usr/local/nginx/html/players epicmorg/balancer:rtmp-hls
docker run -d -p 1935:1935 -p 8080:8080 -v custom_players:/usr/share/nginx/html/players epicmorg/balancer:rtmp-hls
```
where `custom_players` is the directory holding the modified html files.

Expand Down

0 comments on commit 759b6ee

Please sign in to comment.