| // Copyright 2018 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // https://w3c.github.io/webrtc-pc/#rtcprioritytype-enum |
| enum RTCPriorityType { |
| "very-low", |
| "low", |
| "medium", |
| "high" |
| }; |
| |
| // https://w3c.github.io/webrtc-pc/#rtcdtxstatus* |
| enum RTCDtxStatus { |
| "disabled", |
| "enabled" |
| }; |
| |
| // https://w3c.github.io/webrtc-pc/#rtcrtpencodingparameters* |
| dictionary RTCRtpEncodingParameters { |
| octet codecPayloadType; |
| RTCDtxStatus dtx; |
| boolean active = true; |
| RTCPriorityType priority = "low"; |
| unsigned long ptime; |
| unsigned long maxBitrate; |
| double maxFramerate; |
| DOMString rid; |
| double scaleResolutionDownBy; |
| }; |