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

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.