Versions in this module Expand all Collapse all v2 v2.0.0 Jul 9, 2021 Changes in this version + type AbsSendTimeExtension struct + Timestamp uint64 + func NewAbsSendTimeExtension(sendTime time.Time) *AbsSendTimeExtension + func (t *AbsSendTimeExtension) Estimate(receive time.Time) time.Time + func (t *AbsSendTimeExtension) Marshal() ([]byte, error) + func (t *AbsSendTimeExtension) Unmarshal(rawData []byte) error + type AudioLevelExtension struct + Level uint8 + Voice bool + func (a *AudioLevelExtension) Marshal() ([]byte, error) + func (a *AudioLevelExtension) Unmarshal(rawData []byte) error + type Depacketizer interface + IsDetectedFinalPacketInSequence func(rtpPacketMarketBit bool) bool + Unmarshal func(packet []byte) ([]byte, error) + type Extension struct + type Header struct + CSRC []uint32 + Extension bool + ExtensionProfile uint16 + Extensions []Extension + Marker bool + Padding bool + PayloadType uint8 + SSRC uint32 + SequenceNumber uint16 + Timestamp uint32 + Version uint8 + func (h *Header) DelExtension(id uint8) error + func (h *Header) GetExtension(id uint8) []byte + func (h *Header) GetExtensionIDs() []uint8 + func (h *Header) Marshal() (buf []byte, err error) + func (h *Header) MarshalSize() int + func (h *Header) MarshalTo(buf []byte) (n int, err error) + func (h *Header) SetExtension(id uint8, payload []byte) error + func (h *Header) Unmarshal(buf []byte) (n int, err error) + type Packet struct + Payload []byte + func (p *Packet) Marshal() (buf []byte, err error) + func (p *Packet) MarshalSize() int + func (p *Packet) MarshalTo(buf []byte) (n int, err error) + func (p *Packet) Unmarshal(buf []byte) error + func (p Packet) String() string + type Packetizer interface + EnableAbsSendTime func(value int) + Packetize func(payload []byte, samples uint32) []*Packet + SkipSamples func(skippedSamples uint32) + func NewPacketizer(mtu int, pt uint8, ssrc uint32, payloader Payloader, sequencer Sequencer, ...) Packetizer + type PartitionHeadChecker interface + IsPartitionHead func([]byte) bool + type Payloader interface + Payload func(mtu int, payload []byte) [][]byte + type Sequencer interface + NextSequenceNumber func() uint16 + RollOverCount func() uint64 + func NewFixedSequencer(s uint16) Sequencer + func NewRandomSequencer() Sequencer + type TransportCCExtension struct + TransportSequence uint16 + func (t *TransportCCExtension) Marshal() ([]byte, error) + func (t *TransportCCExtension) Unmarshal(rawData []byte) error Other modules containing this package github.com/pion/rtp