Files
webrtc/pkg/rtp/depacketizer.go
Sean DuBois f7c4fea4f5 Add RTP Depackatization to SampleBuilder
When constructing a SampleBuilder the caller now passes in a
Depacketizer. This allows the SampleBuilder to take a RTP packet
to a sample. This wasn't possible before because RTP payloads may carry
codec specific metadata in the payloads that need to be stripped

Relates to #63
2018-09-22 16:58:10 -07:00

7 lines
180 B
Go

package rtp
// Depacketizer depacketizes a RTP payload, removing any RTP specific data from the payload
type Depacketizer interface {
Unmarshal(packet *Packet) ([]byte, error)
}