package
4.0.11
Repository: https://github.com/pion/webrtc.git
Documentation: pkg.go.dev

# Functions

New constructs a new SampleBuilder.
WithMaxTimeDelay ensures that packets that are too old in the buffer get purged based on time rather than building up an extraordinarily long delay.
WithPacketHeadHandler set a head packet handler to allow inspecting the packet to extract certain information and return as custom metadata.
WithPacketReleaseHandler set a callback when the builder is about to release some packet.
WithRTPHeaders enables to collect RTP headers forming a Sample.

# Structs

SampleBuilder buffers packets until media frames are complete.

# Type aliases

An Option configures a SampleBuilder.