mirror of
https://github.com/pion/webrtc.git
synced 2025-10-13 10:53:54 +08:00

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
10 lines
362 B
Go
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"`
|
|
}
|