Confirmed users
770
edits
| Line 25: | Line 25: | ||
=Concept= | =Concept= | ||
==MediaStreamTrack with VideoWorker: == | ==MediaStreamTrack with VideoWorker: == | ||
The new design is a simple and minimal change for current API. By extending MediaStreamTrack and adding VideoWorker related API, we can let MedisStream be able to support video processing functionality through the script code in Worker. Below is the draft WebIDL codes. Please see [ | The new design is a simple and minimal change for current API. By extending MediaStreamTrack and adding VideoWorker related API, we can let MedisStream be able to support video processing functionality through the script code in Worker. Below is the draft WebIDL codes. Please see [2] for the draft specification. | ||
<source lang="webidl"> | <source lang="webidl"> | ||
[Constructor(DOMString scriptURL)] | [Constructor(DOMString scriptURL)] | ||