You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,11 @@ FLAGS:
11
11
-V, --version Prints version information
12
12
13
13
OPTIONS:
14
-
--http-flv-port <http-flv-port> disable if port is 0 [default: 0]
15
-
--rtmp-port <rtmp-port> [default: 1935]
16
-
--ws-fmp4-port <ws-fmp4-port> disable if port is 0 [default: 0]
17
-
--ws-h264-port <ws-h264-port> disable if port is 0 [default: 0]
14
+
--http-flv-port <http-flv-port> disabled if port is 0 [default: 0]
15
+
--http-player-port <http-player-port> disabled if port is 0 [default: 0]
16
+
--rtmp-port <rtmp-port> [default: 1935]
17
+
--ws-fmp4-port <ws-fmp4-port> disabled if port is 0 [default: 0]
18
+
--ws-h264-port <ws-h264-port> disabled if port is 0 [default: 0]
18
19
```
19
20
## Push
20
21
@@ -35,6 +36,17 @@ If pushing stream with x264 codec, recommended profile is baseline
35
36
36
37
If you are using x264 encoding to push the stream, it is recommended that profile=baseline to avoid frequent video jitter. The current local test latency is about 1 second.
37
38
39
+
**Example:**
40
+
41
+
1. Run `River`
42
+
```shell
43
+
cargo run -- --http-player-port=8080 --ws-h264-port=18000
44
+
```
45
+
46
+
2. Push with OBS, x264, tune=zerolatency, CBR, preset=veryfast, profile=baseline
47
+
48
+
3. Open your browser http://localhost:8080
49
+
38
50
## Completed
39
51
-[x] support custom width and height
40
52
-[x] support audio
@@ -43,11 +55,11 @@ If you are using x264 encoding to push the stream, it is recommended that profil
43
55
-[x] deal with the problem of websocket message backlog
44
56
-[x] configurable startup parameters (monitoring server port)
45
57
-[x] optional output formats based on the startup parameters
58
+
-[x] web video player with `JMuxer` (ws-h264-port required)
46
59
47
60
## TODO
48
61
-[ ] PUSH/PULL authentication
49
62
-[ ] support fragmented MP4 output
50
-
-[ ] web video player with `JMuxer` (ws-h264-port required)
0 commit comments