Versions in this module Expand all Collapse all v4 v4.16.3 Aug 12, 2025 v4.16.2 Aug 12, 2025 Changes in this version + type Encoder struct + ClockRate int + InitialTimestamp *uint32 + func (e *Encoder) Encode(ts time.Duration) uint32 + func (e *Encoder) Initialize() error + type GlobalDecoder struct + func NewGlobalDecoder() *GlobalDecoder + func (d *GlobalDecoder) Decode(track GlobalDecoderTrack, pkt *rtp.Packet) (time.Duration, bool) + type GlobalDecoder2 struct + func NewGlobalDecoder2() *GlobalDecoder2 + func (d *GlobalDecoder2) Decode(track GlobalDecoder2Track, pkt *rtp.Packet) (int64, bool) + func (d *GlobalDecoder2) Initialize() + type GlobalDecoder2Track interface + ClockRate func() int + PTSEqualsDTS func(*rtp.Packet) bool + type GlobalDecoderTrack interface + ClockRate func() int + PTSEqualsDTS func(*rtp.Packet) bool