mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
Just the boilerplate :^) (cherry picked from commit 35043702813117d22e841e1b1d887d1726d4ed2d; amended to fix conflict in idl_files.gni due to ladybird being worse than serenity at having that file sorted alphabetically)
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
#import <DOM/EventHandler.idl>
|
|
#import <HTML/AudioTrackList.idl>
|
|
#import <HTML/TextTrackList.idl>
|
|
#import <HTML/VideoTrackList.idl>
|
|
#import <HTML/TimeRanges.idl>
|
|
|
|
// 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 {
|
|
[FIXME] attribute AppendMode mode;
|
|
[FIXME] readonly attribute boolean updating;
|
|
[FIXME] 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;
|
|
|
|
[FIXME] attribute EventHandler onupdatestart;
|
|
[FIXME] attribute EventHandler onupdate;
|
|
[FIXME] attribute EventHandler onupdateend;
|
|
[FIXME] attribute EventHandler onerror;
|
|
[FIXME] attribute EventHandler onabort;
|
|
|
|
[FIXME] undefined appendBuffer(BufferSource data);
|
|
[FIXME] undefined abort();
|
|
[FIXME] undefined changeType(DOMString type);
|
|
[FIXME] undefined remove(double start, unrestricted double end);
|
|
};
|