2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-09-16 10:34:57 +04:00
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* This is an internal IDL file
|
|
|
|
*/
|
|
|
|
|
2017-01-19 07:24:59 +03:00
|
|
|
// for gUM request start (getUserMedia:request) notification,
|
|
|
|
// rawID and mediaSource won't be set.
|
|
|
|
// for gUM request stop (recording-device-stopped) notification due to page reload,
|
|
|
|
// only windowID will be set.
|
|
|
|
// for gUM request stop (recording-device-stopped) notification due to track stop,
|
|
|
|
// only windowID, rawID and mediaSource will be set
|
|
|
|
|
2019-09-27 18:26:14 +03:00
|
|
|
[NoInterfaceObject,
|
|
|
|
Exposed=Window]
|
2013-09-16 10:34:57 +04:00
|
|
|
interface GetUserMediaRequest {
|
|
|
|
readonly attribute unsigned long long windowID;
|
2014-02-14 23:32:58 +04:00
|
|
|
readonly attribute unsigned long long innerWindowID;
|
2013-09-16 10:34:57 +04:00
|
|
|
readonly attribute DOMString callID;
|
2017-01-19 07:24:59 +03:00
|
|
|
readonly attribute DOMString rawID;
|
|
|
|
readonly attribute DOMString mediaSource;
|
2014-04-18 22:00:16 +04:00
|
|
|
MediaStreamConstraints getConstraints();
|
2014-04-16 10:22:19 +04:00
|
|
|
readonly attribute boolean isSecure;
|
2018-01-11 01:59:55 +03:00
|
|
|
readonly attribute boolean isHandlingUserInput;
|
2013-09-16 10:34:57 +04:00
|
|
|
};
|