Files
ladybird/Libraries/LibWeb/MediaSourceExtensions/SourceBuffer.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

31 lines
1.0 KiB
Plaintext

// https://w3c.github.io/media-source/#dom-sourcebuffer
enum AppendMode {
"segments",
"sequence",
};
// https://w3c.github.io/media-source/#dom-sourcebuffer
[Exposed=(Window,DedicatedWorker)]
interface SourceBuffer : EventTarget {
attribute AppendMode mode;
readonly attribute boolean updating;
readonly attribute TimeRanges buffered;
[FIXME] attribute double timestampOffset;
[FIXME] readonly attribute AudioTrackList audioTracks;
[FIXME] readonly attribute VideoTrackList videoTracks;
[FIXME] readonly attribute TextTrackList textTracks;
[FIXME] attribute double appendWindowStart;
[FIXME] attribute unrestricted double appendWindowEnd;
attribute EventHandler onupdatestart;
attribute EventHandler onupdate;
attribute EventHandler onupdateend;
attribute EventHandler onerror;
attribute EventHandler onabort;
undefined appendBuffer(BufferSource data);
undefined abort();
undefined changeType(DOMString type);
[FIXME] undefined remove(double start, unrestricted double end);
};