Versions in this module Expand all Collapse all v4 v4.0.1 Feb 8, 2024 Changes in this version + var ErrMorePacketsNeeded = errors.New("need more packets") + var ErrNonStartingPacketAndNoPrevious = errors.New("received a non-starting fragment without any previous starting fragment") + type Decoder struct + func (d *Decoder) Decode(pkt *rtp.Packet) ([]byte, error) + func (d *Decoder) Init() error + type Encoder struct + InitialSequenceNumber *uint16 + PayloadMaxSize int + PayloadType uint8 + SSRC *uint32 + func (e *Encoder) Encode(frame []byte) ([]*rtp.Packet, error) + func (e *Encoder) Init() error