mirror of
https://github.com/bluenviron/mediamtx.git
synced 2025-12-26 04:52:00 -08:00
update docs
This commit is contained in:
parent
c1eb03da26
commit
d0e7c3c100
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue