This commit is contained in:
aler9 2021-08-14 13:52:57 +02:00
parent 5a814480b3
commit 3828b71206
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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")