mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-31 13:20:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| #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;
 | |
| 
 | |
|     attribute EventHandler onupdatestart;
 | |
|     attribute EventHandler onupdate;
 | |
|     attribute EventHandler onupdateend;
 | |
|     attribute EventHandler onerror;
 | |
|     attribute EventHandler onabort;
 | |
| 
 | |
|     [FIXME] undefined appendBuffer(BufferSource data);
 | |
|     [FIXME] undefined abort();
 | |
|     [FIXME] undefined changeType(DOMString type);
 | |
|     [FIXME] undefined remove(double start, unrestricted double end);
 | |
| };
 | 
