author Randell Jesup <>
Fri, 30 Aug 2013 02:08:04 -0400
changeset 157990 c118114b08f1fc72e2e359402ba4bd212886e8f2
parent 133604 3c22e7998e22325b6a2111da7c9c965595e5e18c
child 215614 d00f111241a87b538634ba8f1a91e35b6d7f5419
permissions -rw-r--r--
Bug 901583: Webrtc updated to 4563; pull made Sat Aug 17 11:00:00 EDT 2013 rs=jesup

/* 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 */

#include "nsISupports.idl"

interface nsISupportsArray;
interface nsIDOMWindow;

#define NS_MEDIAMANAGERSERVICE_CID {0xabc622ea, 0x9655, 0x4123, {0x80, 0xd9, 0x22, 0x62, 0x1b, 0xdd, 0x54, 0x65}}

[scriptable, builtinclass, uuid(2efff6ab-0e3e-4cc4-8f9b-4aaca59a1140)]
interface nsIMediaManagerService : nsISupports
  /* return a array of inner windows that have active captures */
  readonly attribute nsISupportsArray activeMediaCaptureWindows;

  /* Get the capture state for the given window and all descendant windows (iframes, etc) */
  void mediaCaptureWindowState(in nsIDOMWindow aWindow, out boolean aVideo, out boolean aAudio);