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
This commit is contained in:
Sean DuBois
2019-01-24 01:03:55 -08:00
parent 7b44d7ca70
commit 3c37b6c4b4
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
package webrtc
// RTCRtpEncodingParameters provides information relating to both encoding and decoding.
// This is a subset of the RFC since Pion WebRTC doesn't implement encoding itself
// http://draft.ortc.org/#dom-rtcrtpencodingparameters
type RTCRtpEncodingParameters struct {
RTCRtpCodingParameters
}