mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
f054723379
We do not mark this field as required right now, because we still have users that synthesize RTCRtpParameters instead of tweaking the return of getParameters. The compat mode will ignore any attempt to modify .codecs, otherwise this will result in the error specified in webrtc-pc. Differential Revision: https://phabricator.services.mozilla.com/D209305
26 lines
780 B
Plaintext
26 lines
780 B
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* The origin of this IDL file is
|
|
* https://w3c.github.io/webrtc-pc/#dom-rtcrtpcapabilities
|
|
*/
|
|
|
|
dictionary RTCRtpCapabilities {
|
|
required sequence<RTCRtpCodec> codecs;
|
|
required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
|
|
};
|
|
|
|
[GenerateEqualityOperator]
|
|
dictionary RTCRtpCodec {
|
|
required DOMString mimeType;
|
|
required unsigned long clockRate;
|
|
unsigned short channels;
|
|
DOMString sdpFmtpLine;
|
|
};
|
|
|
|
dictionary RTCRtpHeaderExtensionCapability {
|
|
required DOMString uri;
|
|
};
|