Versions in this module Expand all Collapse all v0 v0.0.2 Mar 15, 2023 Changes in this version + var ErrMorePacketsNeeded = errors.New("need more packets") + type Decoder struct + IndexDeltaLength int + IndexLength int + SampleRate int + SizeLength int + func (d *Decoder) Decode(pkt *rtp.Packet) ([][]byte, time.Duration, error) + func (d *Decoder) Init() + type Encoder struct + IndexDeltaLength int + IndexLength int + InitialSequenceNumber *uint16 + InitialTimestamp *uint32 + PayloadMaxSize int + PayloadType uint8 + SSRC *uint32 + SampleRate int + SizeLength int + func (e *Encoder) Encode(aus [][]byte, pts time.Duration) ([]*rtp.Packet, error) + func (e *Encoder) Init()