From 165f97e4a06755cea8d212c32b7f48721316dac5 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 30 Apr 2021 17:04:57 +0800 Subject: [PATCH] SquashSRS3: Link source flv in doc --- README.md | 4 ++-- trunk/doc/source.flv | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 trunk/doc/source.flv diff --git a/README.md b/README.md index 3b6b987f1..20f9c6fbf 100755 --- a/README.md +++ b/README.md @@ -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). 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 -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 ``` > Note: If WebRTC enabled, you can publish by [H5](http://localhost:8080/players/rtc_publisher.html?autostart=true). diff --git a/trunk/doc/source.flv b/trunk/doc/source.flv new file mode 120000 index 000000000..32d9ecfc2 --- /dev/null +++ b/trunk/doc/source.flv @@ -0,0 +1 @@ +source.200kbps.768x320.flv \ No newline at end of file