summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/peerconnection/rtc_rtp_encoding_parameters.idl
blob: 63b427d6dd1ae5de03470888b996c6cdf517c2b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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/#rtcrtpencodingparameters*
dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
    //TODO(orphis): Missing codecPayloadType. https://crbug.com/857042
    //TODO(orphis): Missing dtx. https://crbug.com/857044
    boolean         active = true;
    RTCPriorityType priority = "low";
    //TODO(orphis): Missing ptime. https://crbug.com/857046
    unsigned long   maxBitrate;
    //TODO(orphis): Missing maxFramerate. https://crbug.com/857047
    //TODO(orphis): Missing scaleResolutionDownBy. https://crbug.com/857048
};