Files
palemoon27/dom/webidl/MediaDeviceInfo.webidl
T
roytam1 5f6df85cb7 align changes from rmottola/Arctic-Fox (rev e67e868c) to our tree Part 3: misc fixes including:
- Bug 1218882 - lz4.js should be usable outside of workers, r=Yoric. (360bb783)
- Bug 1046245 - enumerateDevices (harmless interface version) r=smaug, r=jesup (ce475127)
- Bug 1046245 - enumerateDevices returns label for pages w/active gUM or persistent permissions. r=jesup (ec780fb6)
- Bug 1110973 - Add a preference for enabling fake streams for tests, and use it in the Loop functional tests. r=smaug (580092e3)
- Bug 1046245 - enumerateDevices session-persisted hmac id. r=jesup (7d4eb087)
2020-01-12 15:07:13 +08:00

23 lines
708 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
* http://dev.w3.org/2011/webrtc/editor/getusermedia.html
*/
enum MediaDeviceKind {
"audioinput",
"audiooutput",
"videoinput"
};
[Func="Navigator::HasUserMediaSupport"]
interface MediaDeviceInfo {
readonly attribute DOMString deviceId;
readonly attribute MediaDeviceKind kind;
readonly attribute DOMString label;
readonly attribute DOMString groupId;
};