add RTP/MPEG-2 audio decoder and encoder (#257)

This commit is contained in:
Alessandro Ros
2023-04-25 17:49:23 +02:00
committed by GitHub
parent 2dc8838a6d
commit 84fcc018e0
74 changed files with 494 additions and 15 deletions

View File

@@ -23,6 +23,7 @@ var ErrNonStartingPacketAndNoPrevious = errors.New(
"received a non-starting fragment without any previous starting fragment")
// Decoder is a RTP/H264 decoder.
// Specification: https://datatracker.ietf.org/doc/html/rfc6184
type Decoder struct {
// indicates the packetization mode.
PacketizationMode int