mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 07:06:51 +08:00

Let's pull off the bandaid! * Reduces studdering: webrtc.RTCTrack -> webrtc.Track * Makes it easier to find types by editor autocomplete * Makes code read more fluently (less repetition) Since we're breaking the API in 2.0, our only chance to do this is now. Relates to #408
10 lines
356 B
Go
10 lines
356 B
Go
package webrtc
|
|
|
|
// RTPCodingParameters 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 RTPCodingParameters struct {
|
|
SSRC uint32 `json:"ssrc"`
|
|
PayloadType uint8 `json:"payloadType"`
|
|
}
|