update docs

This commit is contained in:
aler9 2022-02-18 21:03:33 +01:00
parent c1eb03da26
commit d0e7c3c100

View file

@ -54,12 +54,12 @@ func (m *Muxer) Close() {
m.streamPlaylist.close()
}
// WriteH264 writes H264 NALUs, grouped by PTS, into the muxer.
// WriteH264 writes H264 NALUs, grouped by timestamp, into the muxer.
func (m *Muxer) WriteH264(pts time.Duration, nalus [][]byte) error {
return m.tsGenerator.writeH264(pts, nalus)
}
// WriteAAC writes AAC AUs, grouped by PTS, into the muxer.
// WriteAAC writes AAC AUs, grouped by timestamp, into the muxer.
func (m *Muxer) WriteAAC(pts time.Duration, aus [][]byte) error {
return m.tsGenerator.writeAAC(pts, aus)
}