diff --git a/README.md b/README.md index 79a031c8..089cd05b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/internal/hls/muxer.go b/internal/hls/muxer.go index 699726aa..9d83fdac 100644 --- a/internal/hls/muxer.go +++ b/internal/hls/muxer.go @@ -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")