mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SquashSRS3: Link source flv in doc
This commit is contained in:
parent
e8fe66e3ba
commit
165f97e4a0
2 changed files with 3 additions and 2 deletions
|
@ -25,10 +25,10 @@ docker run --rm -p 1935:1935 -p 1985:1985 -p 8080:8080 \
|
||||||
> To enable WebRTC, user MUST set the env `CANDIDATE`, see [#307](https://github.com/ossrs/srs/issues/307#issue-76908382).
|
> To enable WebRTC, user MUST set the env `CANDIDATE`, see [#307](https://github.com/ossrs/srs/issues/307#issue-76908382).
|
||||||
|
|
||||||
Open [http://localhost:8080/](http://localhost:8080/) to check it, then publish
|
Open [http://localhost:8080/](http://localhost:8080/) to check it, then publish
|
||||||
[stream](https://github.com/ossrs/srs/blob/3.0release/trunk/doc/source.200kbps.768x320.flv) by:
|
[stream](https://github.com/ossrs/srs/blob/3.0release/trunk/doc/source.flv) by:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm --network=host ossrs/srs:encoder ffmpeg -re -i ./doc/source.200kbps.768x320.flv \
|
docker run --rm --network=host ossrs/srs:encoder ffmpeg -re -i ./doc/source.flv \
|
||||||
-c copy -f flv -y rtmp://localhost/live/livestream
|
-c copy -f flv -y rtmp://localhost/live/livestream
|
||||||
```
|
```
|
||||||
> Note: If WebRTC enabled, you can publish by [H5](http://localhost:8080/players/rtc_publisher.html?autostart=true).
|
> Note: If WebRTC enabled, you can publish by [H5](http://localhost:8080/players/rtc_publisher.html?autostart=true).
|
||||||
|
|
1
trunk/doc/source.flv
Symbolic link
1
trunk/doc/source.flv
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
source.200kbps.768x320.flv
|
Loading…
Add table
Add a link
Reference in a new issue