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 * This is an internal IDL file
9 // for gUM request start (getUserMedia:request) notification,
10 // rawID and mediaSource won't be set.
11 // for gUM request stop (recording-device-stopped) notification due to page reload,
12 // only windowID will be set.
13 // for gUM request stop (recording-device-stopped) notification due to track stop,
14 // only windowID, rawID and mediaSource will be set
18 interface GetUserMediaRequest {
19 readonly attribute unsigned long long windowID;
20 readonly attribute unsigned long long innerWindowID;
21 readonly attribute DOMString callID;
22 readonly attribute DOMString rawID;
23 readonly attribute DOMString mediaSource;
24 MediaStreamConstraints getConstraints();
25 readonly attribute boolean isSecure;
26 readonly attribute boolean isHandlingUserInput;