blob: 6e460c41a7d10d3320b58df757adaa675582f2d1 [file] [log] [blame]
// 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";
RTCPriorityType networkPriority = "low";
//TODO(orphis): Missing ptime. https://crbug.com/857046
unsigned long maxBitrate;
//TODO(orphis): Missing maxFramerate. https://crbug.com/857047
double scaleResolutionDownBy;
};