diff --git a/index.html b/index.html index 69958fc..72f2861 100644 --- a/index.html +++ b/index.html @@ -442,7 +442,7 @@ } } -
@@ -864,6 +864,8 @@
The MediaSource object represents a source of media data for an HTMLMediaElement. It keeps track of the readyState
for this source as well as a list of SourceBuffer
objects that can be used to add media data to the presentation. MediaSource objects are created by the web application and then attached to an HTMLMediaElement. The application uses the SourceBuffer
objects in sourceBuffers
to add media data to this source. The HTMLMediaElement fetches this media data from the MediaSource
object when it is needed during playback.
Each MediaSource
object has a live seekable range variable that stores a normalized TimeRanges object. This variable is initialized to an empty TimeRanges
object when the MediaSource
object is created, is maintained by setLiveSeekableRange()
and clearLiveSeekableRange()
, and is used in HTMLMediaElement Extensions to modify HTMLMediaElement.seekable
behavior.
enum ReadyState {
"closed",
"open",
@@ -899,6 +901,8 @@ SourceBuffer
addSourceBuffer (DOMString
type);
void
removeSourceBuffer (SourceBuffer
sourceBuffer);
void
endOfStream (optional EndOfStreamError
error);
+ void
setLiveSeekableRange (double
start, double
end);
+ void
clearLiveSeekableRange ();
static boolean
isTypeSupported (DOMString
type);
};
activeSourceBuffers
of type SourceBufferList
, readonly Contains the subset of sourceBuffers
that are providing the
@@ -974,7 +978,15 @@
sourceBuffers
and queue a task to fire a simple event named addsourcebuffer
at sourceBuffers
.endOfStream
clearLiveSeekableRange
Updates the live seekable range variable used in HTMLMediaElement Extensions to modify HTMLMediaElement.seekable
behavior.
void
When this method is invoked, the user agent must run the following steps:
readyState
attribute is not "open"
then throw an InvalidStateError
exception and abort these steps.updating
attribute equals true on any SourceBuffer
in sourceBuffers
, then throw an InvalidStateError
exception and abort these steps.TimeRanges
object.
+ endOfStream
Signals the end of the stream.
@@ -1083,7 +1095,16 @@sourceBuffers
and queue a task to fire a simple event named removesourcebuffer
at
the SourceBufferList
returned by sourceBuffers
.
setLiveSeekableRange
Updates the live seekable range variable used in HTMLMediaElement Extensions to modify HTMLMediaElement.seekable
behavior.
Parameter | Type | Nullable | Optional | Description |
---|---|---|---|---|
start |
| ✘ | ✘ | |
end |
| ✘ | ✘ |
void
When this method is invoked, the user agent must run the following steps:
readyState
attribute is not "open"
then throw an InvalidStateError
exception and abort these steps.updating
attribute equals true on any SourceBuffer
in sourceBuffers
, then throw an InvalidStateError
exception and abort these steps.TypeError
exception and abort these steps.duration
equals positive Infinity:
HTMLMediaElement.buffered
attribute.HTMLMediaElement.buffered
attribute returns an empty TimeRanges
object, then return an empty TimeRanges
object and abort these steps.HTMLMediaElement.buffered
attribute.
@@ -2923,7 +2950,7 @@ VideoPlaybackQuality
and is OPTIONAL. There are several implementations of the current specification, but it is subject to change because some feel it needs further work. The community is actively investigating alternate designs to provide feedback on media playback quality. See Media Playback Quality.
- This section specifies new attributes and internal state that are being added to the HTMLVideoElement
.
This section specifies new attributes and internal state that are being added to the HTMLVideoElement
.
Each HTMLVideoElement
will maintain a total video frame count variable that keeps
track of the total number of frames that have been displayed and dropped. This variable is initialized to 0 when the
@@ -3195,6 +3222,7 @@
HTMLMediaElement.seekable
on live streams.The MediaSource object represents a source of media data for an HTMLMediaElement. It keeps track of the for this source as well as a list of SourceBuffer objects that can be used to add media data to the presentation. MediaSource objects are created by the web application and then attached to an HTMLMediaElement. The application uses the SourceBuffer objects in to add media data to this source. The HTMLMediaElement fetches this media data from the MediaSource object when it is needed during playback.
+Each MediaSource object has a live seekable range variable that stores a . This variable is initialized to an empty object when the MediaSource object is created, is maintained by and , and is used in HTMLMediaElement Extensions to modify behavior.
+Updates the variable used in HTMLMediaElement Extensions to modify behavior.
+ +Updates the variable used in HTMLMediaElement Extensions to modify behavior.
+ +Check to see whether the MediaSource is capable of creating SourceBuffer objects for the specified MIME type.
@@ -2477,6 +2502,12 @@