diff options
| author | Mistivia <i@mistivia.com> | 2025-12-20 05:09:26 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-12-20 05:25:07 +0800 |
| commit | 038c58b0ac053dbfe8aea3faab73863000d5fdc9 (patch) | |
| tree | 5a7e477a5f75d76be7adc9dcaab82347bac82ae7 /README.md | |
| parent | bb725cc3802b42992666e18d0758459e4332cdd7 (diff) | |
use srt instead of rtmp
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -2,7 +2,7 @@ EZLive is a minimal self-hosted livestream solution built on top of S3-compatible object storage. -It runs a local RTMP server, receive live video, turns it into HLS segments (.m3u8 + .ts) and serves them as static files through any S3-compatible object storage. No dedicated streaming server is required — everything runs serverlessly. Then you can easily setup a HTML5 HLS player to watch the stream. +It runs a local SRT server, receive live video, turns it into HLS segments (.m3u8 + .ts) and serves them as static files through any S3-compatible object storage. No dedicated streaming server is required — everything runs serverlessly. Then you can easily setup a HTML5 HLS player to watch the stream. # Build @@ -24,7 +24,7 @@ Then create a config file `config`: ``` listening_addr=127.0.0.1 -listening_port=1935 +listening_port=61935 bucket=YOUR_BUCKET_NAME endpoint=https://your-s3.com s3_path=ezlive/ @@ -74,7 +74,7 @@ Start EZLive: ./ezlive ``` -Open OBS, streaming to `rtmp://127.0.0.1/live`, no streaming key needed. The streaming format must be H.264 + AAC. +Open OBS, streaming to `srt://127.0.0.1:61935`, with streaming key. The streaming format must be H.264 + AAC. Then use a HLS player to load `https://YOUR_BUCKET_NAME.your-s3.com/ezlive/stream.m3u8` to watch the stream. @@ -123,6 +123,4 @@ To start using, unzip the windows tarball, create a `config` file in the same di # Credits -The built-in RTMP server is modified from [pine](https://github.com/deboot/pine). - Thank [@uonr](https://github.com/uonr) for making nix flake. |
