#import <DOM/EventHandler.idl>
#import <MediaSourceExtensions/MediaSource.idl>

// https://w3c.github.io/media-source/#managedmediasource-interface
[Exposed=(Window,DedicatedWorker)]
interface ManagedMediaSource : MediaSource {
    constructor();
    [FIXME] readonly attribute boolean streaming;
    attribute EventHandler onstartstreaming;
    attribute EventHandler onendstreaming;
};
