MCPcopy Create free account
hub / github.com/pion/rtp / SkipSamples

Method SkipSamples

packetizer.go:96–98  ·  view source on GitHub ↗

SkipSamples causes a gap in sample count between Packetize requests so the RTP payloads produced have a gap in timestamps

(skippedSamples uint32)

Source from the content-addressed store, hash-verified

94// SkipSamples causes a gap in sample count between Packetize requests so the
95// RTP payloads produced have a gap in timestamps
96func (p *packetizer) SkipSamples(skippedSamples uint32) {
97 p.Timestamp += skippedSamples
98}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected