Files
webrtc/rtcrtpcodingparameters.go
Sean DuBois 3c37b6c4b4 Add RTCRtpCodingParameters for ORTC
This is a minimal subset of ORTC, but since we don't encode/decode
ourselves all we really care about is ssrc and PayloadType

Relates to #312
2019-01-27 21:12:08 -08:00

10 lines
362 B
Go

package webrtc
// RTCRtpCodingParameters provides information relating to both encoding and decoding.
// This is a subset of the RFC since Pion WebRTC doesn't implement encoding/decoding itself
// http://draft.ortc.org/#dom-rtcrtpcodingparameters
type RTCRtpCodingParameters struct {
SSRC uint32 `json:"ssrc"`
PayloadType uint8 `json:"payloadType"`
}