mirror of
https://github.com/bluenviron/mediamtx
synced 2024-12-15 19:24:55 +00:00
fix docs
This commit is contained in:
parent
5a814480b3
commit
3828b71206
@ -332,7 +332,7 @@ The direct HLS URL, that can be used to read the stream with Javascript librarie
|
||||
http://localhost:8888/mystream/stream.m3u8
|
||||
```
|
||||
|
||||
Please note that most browsers don't support HLS directly (except Safari); a Javascript library, like [hls.js](https://github.com/video-dev/hls.js/), must be used to load the stream.
|
||||
Please note that most browsers don't support HLS directly (except Safari); a Javascript library, like [hls.js](https://github.com/video-dev/hls.js), must be used to load the stream.
|
||||
|
||||
### Publish from OBS Studio
|
||||
|
||||
|
@ -183,7 +183,7 @@ func (m *Muxer) WriteAAC(pts time.Duration, aus [][]byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Playlist returns a reader to read the HLS playlist in M3U8 format.
|
||||
// Playlist returns a reader to read the playlist.
|
||||
func (m *Muxer) Playlist() io.Reader {
|
||||
m.mutex.RLock()
|
||||
defer m.mutex.RUnlock()
|
||||
@ -221,7 +221,7 @@ func (m *Muxer) Playlist() io.Reader {
|
||||
return bytes.NewReader([]byte(cnt))
|
||||
}
|
||||
|
||||
// TSFile returns a reader to read a given MPEG-TS file.
|
||||
// TSFile returns a reader to read a MPEG-TS file.
|
||||
func (m *Muxer) TSFile(fname string) io.Reader {
|
||||
base := strings.TrimSuffix(fname, ".ts")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user