Skip to content

Commit

Permalink
For #43: Fix SRT URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Jul 20, 2023
1 parent 7ab0f34 commit ed92876
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,6 @@ srt url举例:
streamid默认为"#!::r=live/livestream,m=publish", 也就是上面的url等同于
`srt://127.0.0.1:10080?streamid=#!::r=live/livestream,m=publish`

注意: streamid为空的情况下,只允许进行推流,不允许进行拉流。

FFmpeg使用示例:
> ffmpeg -re -i source.mp4 -c copy -f mpegts 'srt://127.0.0.1:10080'
OBS使用:
> ![](/img/doc-main-concepts-srt-url-001.png)
Runner365 2020.02

![](https://ossrs.net/gif/v1/sls.gif?site=ossrs.net&path=/lts/doc/zh/v5/srt-url)
Expand Down
8 changes: 0 additions & 8 deletions versioned_docs/version-5.0/doc/srt-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,6 @@ In this case, we can only use ip:port to publish SRT stream, for example `srt://
streamid with default value "#!::r=live/livestream,m=publish". So the SRT url above is equal to
`srt://127.0.0.1:10080?streamid=#!::r=live/livestream,m=publish`.

Note: When streamid empty, only allow publish stream, can not play stream.

FFmpeg example:
> ffmpeg -re -i source.mp4 -c copy -f mpegts 'srt://127.0.0.1:10080'
OBS example:
> ![](/img/doc-main-concepts-srt-url-001.png)
Runner365 2020.02

![](https://ossrs.net/gif/v1/sls.gif?site=ossrs.io&path=/lts/doc/en/v5/srt-url)
Expand Down

0 comments on commit ed92876

Please sign in to comment.