2
0

rtpcodingparameters.go 769 B

1234567891011121314151617181920
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. package webrtc
  4. // RTPRtxParameters dictionary contains information relating to retransmission (RTX) settings.
  5. // https://draft.ortc.org/#dom-rtcrtprtxparameters
  6. type RTPRtxParameters struct {
  7. SSRC SSRC `json:"ssrc"`
  8. }
  9. // RTPCodingParameters provides information relating to both encoding and decoding.
  10. // This is a subset of the RFC since Pion WebRTC doesn't implement encoding/decoding itself
  11. // http://draft.ortc.org/#dom-rtcrtpcodingparameters
  12. type RTPCodingParameters struct {
  13. RID string `json:"rid"`
  14. SSRC SSRC `json:"ssrc"`
  15. PayloadType PayloadType `json:"payloadType"`
  16. RTX RTPRtxParameters `json:"rtx"`
  17. }