blob: 951f4d95b6799667bf6b51c04586ab370f57bee5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// 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-priority/#rtc-priority-type
enum RTCPriorityType {
"very-low",
"low",
"medium",
"high"
};
// https://w3c.github.io/webrtc-pc/#rtcrtpencodingparameters*
dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
boolean active = true;
unsigned long maxBitrate;
double scaleResolutionDownBy;
// https://w3c.github.io/webrtc-priority/#encoding-parameters
RTCPriorityType priority = "low";
RTCPriorityType networkPriority = "low";
// https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-maxframerate
double maxFramerate;
// https://w3c.github.io/webrtc-svc/#dom-rtcrtpencodingparameters-scalabilitymode
[RuntimeEnabled=RTCSvcScalabilityMode] DOMString scalabilityMode;
// https://w3c.github.io/webrtc-extensions/#dom-rtcrtpencodingparameters-adaptiveptime
[RuntimeEnabled=RTCAdaptivePtime] boolean adaptivePtime = false;
};
|