MediaSource: canConstructInDedicatedWorker static property - Web APIs | MDN
Value
A boolean. Returns true if MediaSource worker support is implemented, or false otherwise.
Examples
js
if (MediaSource.canConstructInDedicatedWorker) {
// MSE is available in workers; let's do this
}
Specifications
| Specification |
|---|
| Media Source Extensions™ # dom-mediasource-canconstructindedicatedworker |