2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2014-08-14 05:40:41 +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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
|
|
|
* http://dev.w3.org/2011/webrtc/editor/webrtc.html#mediastreamevent
|
|
|
|
*/
|
|
|
|
|
|
|
|
dictionary MediaStreamTrackEventInit : EventInit {
|
2016-05-31 10:29:52 +03:00
|
|
|
required MediaStreamTrack track;
|
2014-08-14 05:40:41 +04:00
|
|
|
};
|
|
|
|
|
2019-09-11 17:35:28 +03:00
|
|
|
[Exposed=Window]
|
2014-08-14 05:40:41 +04:00
|
|
|
interface MediaStreamTrackEvent : Event {
|
2019-09-11 17:35:28 +03:00
|
|
|
constructor(DOMString type, MediaStreamTrackEventInit eventInitDict);
|
|
|
|
|
2016-05-31 10:29:52 +03:00
|
|
|
[SameObject]
|
|
|
|
readonly attribute MediaStreamTrack track;
|
2014-08-14 05:40:41 +04:00
|
|
|
};
|