Versions in this module Expand all Collapse all v1 v1.1.0 Oct 1, 2018 Changes in this version + type Depacketizer interface + Unmarshal func(packet *Packet) ([]byte, error) v1.0.0 Jul 4, 2018 Changes in this version + type Packet struct + CSRC []uint32 + Extension bool + ExtensionPayload []byte + ExtensionProfile uint16 + Marker bool + Padding bool + Payload []byte + PayloadOffset int + PayloadType uint8 + Raw []byte + SSRC uint32 + SequenceNumber uint16 + Timestamp uint32 + Version uint8 + func (p *Packet) Marshal() ([]byte, error) + func (p *Packet) Unmarshal(rawPacket []byte) error + type Packetizer interface + Packetize func(payload []byte, samples uint32) []*Packet + func NewPacketizer(mtu int, pt uint8, ssrc uint32, payloader Payloader, sequencer Sequencer, ...) Packetizer + 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