Versions in this module Expand all Collapse all v3 v3.2.15 Aug 3, 2023 Changes in this version + type Option func(o *SampleBuilder) + func WithMaxTimeDelay(maxLateDuration time.Duration) Option + func WithPacketHeadHandler(h func(headPacket interface{}) interface{}) Option + func WithPacketReleaseHandler(h func(*rtp.Packet)) Option + func WithPartitionHeadChecker(interface{}) Option + type SampleBuilder struct + func New(maxLate uint16, depacketizer rtp.Depacketizer, sampleRate uint32, ...) *SampleBuilder + func (s *SampleBuilder) Pop() *media.Sample + func (s *SampleBuilder) PopWithTimestamp() (*media.Sample, uint32) + func (s *SampleBuilder) Push(p *rtp.Packet)