2012-04-29 20:11:34 -07:00
|
|
|
/* -*- 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/. */
|
|
|
|
|
|
|
|
#include "nsISupports.idl"
|
2013-01-24 18:45:36 -08:00
|
|
|
|
|
|
|
// undef the GetCurrentTime macro defined in WinBase.h from the MS Platform SDK
|
|
|
|
%{C++
|
|
|
|
#ifdef GetCurrentTime
|
|
|
|
#undef GetCurrentTime
|
|
|
|
#endif
|
|
|
|
%}
|
|
|
|
|
2012-04-29 20:11:34 -07:00
|
|
|
[scriptable, builtinclass, uuid(f37c2871-4cb7-4672-bb28-c2d601f7cc9e)]
|
|
|
|
interface nsIDOMMediaStream : nsISupports
|
|
|
|
{
|
|
|
|
readonly attribute double currentTime;
|
|
|
|
};
|
2012-10-24 16:21:32 -07:00
|
|
|
|
|
|
|
[scriptable, builtinclass, uuid(210a16e3-2a38-4ae9-b0f6-0fb5a8252814)]
|
|
|
|
interface nsIDOMLocalMediaStream : nsIDOMMediaStream
|
|
|
|
{
|
|
|
|
void stop();
|
|
|
|
};
|
|
|
|
|