|
|
| Line 40: |
Line 40: |
| [Constructor(DOMString scriptURL)] | | [Constructor(DOMString scriptURL)] |
|
| |
|
| partial interface MediaStreamTrack {
| | interface VidoeMonitor : EventTarget { |
| void addWorkerMonitor (Worker worker);
| | attribute EventHandler onvideomonitor; |
| void removeWorkerMonitor (Worker worker);
| |
| MediaStreamTrack addWorkerProcessor (Worker worker);
| |
| void removeWorkerProcessor ();
| |
| }; | | }; |
|
| |
|
| partial interface WorkerGlobalScope {
| | interface VideoProcessor : EventTarget { |
| attribute EventHandler onvideoprocess;
| | attribute EventHandler onvideoprocess; |
| }; | | }; |
| | | partial interface MediaStreamTrack { |
| interface VideoMonitorEvent : Event { | | void addVideoMonitor(VidoeMonitor monitor); |
| readonly attribute DOMString trackId;
| | void removeVideoMonitor(VidoeMonitor monitor); |
| readonly attribute double playbackTime;
| | MediaStreamTrack addVideoProcessor(VidoeProcessor processor); |
| readonly attribute ImageBitmap inputImageBitmap;
| | void removeVideoProcessor(); |
| };
| |
| | |
| interface VideoProcessorEvent : VideoMonitorEvent {
| |
| readonly attribute DOMString trackId;
| |
| readonly attribute double playbackTime;
| |
| readonly attribute ImageBitmap inputImageBitmap;
| |
| attribute ImageBitmap? outputImageBitmap=null;
| |
| }; | | }; |
|
| |
|