1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4 * You can obtain one at http://mozilla.org/MPL/2.0/.
6 * The origin of this IDL file is
7 * https://w3c.github.io/webrtc-pc/#dom-rtcrtpcapabilities
10 dictionary RTCRtpCapabilities {
11 required sequence<RTCRtpCodec> codecs;
12 required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
15 [GenerateEqualityOperator]
16 dictionary RTCRtpCodec {
17 required DOMString mimeType;
18 required unsigned long clockRate;
19 unsigned short channels;
20 DOMString sdpFmtpLine;
23 dictionary RTCRtpHeaderExtensionCapability {
24 required DOMString uri;