Liking cljdoc? Tell your friends :D

web.SourceBuffer

The SourceBuffer interface represents a chunk of media to be into an html.HTMLMediaElement and played, via a media.MediaSource This can be made up of one or several media segments.

The SourceBuffer interface represents a chunk of media to be
into an `html.HTMLMediaElement` and played, via a `media.MediaSource`
This can be made up of one or several media segments.
raw docstring

abortcljs

(abort this)

Method.

The abort() method of the web.SourceBuffer interface aborts current segment and resets the segment parser.

sourceBuffer.abort();

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/abort

Method.

The abort() method of the `web.SourceBuffer` interface aborts
current segment and resets the segment parser.

`sourceBuffer.abort();`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/abort`
sourceraw docstring

append-buffercljs

(append-buffer this source)

Method.

The appendBuffer() method of the web.SourceBuffer interface media segment data from an web.ArrayBuffer or ArrayBufferView to the SourceBuffer.

sourceBuffer.appendBuffer(source);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer

Method.

The appendBuffer() method of the `web.SourceBuffer` interface
media segment data from an `web.ArrayBuffer` or ArrayBufferView
to the SourceBuffer.

`sourceBuffer.appendBuffer(source);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBuffer`
sourceraw docstring

append-buffer-asynccljs

(append-buffer-async this source)

Method.

The web.SourceBuffer method appendBufferAsync() begins the of asynchronously appending media segment data from an web.ArrayBuffer web.ArrayBufferView object to the SourceBuffer.

appendPromise = sourceBuffer.appendBufferAsync(source);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync

Method.

The `web.SourceBuffer` method appendBufferAsync() begins the
of asynchronously appending media segment data from an `web.ArrayBuffer`
`web.ArrayBufferView` object to the SourceBuffer.

`appendPromise = sourceBuffer.appendBufferAsync(source);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendBufferAsync`
sourceraw docstring

append-streamcljs

(append-stream this stream max-size)

Method.

The appendStream() method of the web.SourceBuffer interface media segment data from a ReadableStream object to the SourceBuffer.

sourceBuffer.appendStream(stream, maxSize);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendStream

Method.

The appendStream() method of the `web.SourceBuffer` interface
media segment data from a ReadableStream object to the SourceBuffer.

`sourceBuffer.appendStream(stream, maxSize);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendStream`
sourceraw docstring

append-window-endcljs

(append-window-end this)

Property.

The appendWindowEnd property of the web.SourceBuffer interface the timestamp for the end of the append window, a timestamp range can be used to filter what media data is appended to the SourceBuffer. media frames with timestamps wthin this range will be appended, those outside the range will be filtered out.

`var myAppendWindowEnd = sourceBuffer.appendWindowEnd;

sourceBuffer.appendWindowEnd = 120.0;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd

Property.

The appendWindowEnd property of the `web.SourceBuffer` interface
the timestamp for the end of the append window, a timestamp range
can be used to filter what media data is appended to the SourceBuffer.
media frames with timestamps wthin this range will be appended,
those outside the range will be filtered out.

`var myAppendWindowEnd = sourceBuffer.appendWindowEnd;

sourceBuffer.appendWindowEnd = 120.0;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd`
sourceraw docstring

append-window-startcljs

(append-window-start this)

Property.

The appendWindowStart property of the web.SourceBuffer interface the timestamp for the start of the append window, a timestamp that can be used to filter what media data is appended to the Coded media frames with timestamps wthin this range will be appended, those outside the range will be filtered out.

`var myAppendWindowStart = sourceBuffer.appendWindowStart;

sourceBuffer.appendWindowStart = 2.0;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart

Property.

The appendWindowStart property of the `web.SourceBuffer` interface
the timestamp for the start of the append window, a timestamp
that can be used to filter what media data is appended to the
Coded media frames with timestamps wthin this range will be appended,
those outside the range will be filtered out.

`var myAppendWindowStart = sourceBuffer.appendWindowStart;

sourceBuffer.appendWindowStart = 2.0;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart`
sourceraw docstring

audio-trackscljs

(audio-tracks this)

Property.

The audioTracks read-only property of the web.SourceBuffer returns a list of the audio tracks currently contained inside SourceBuffer.

var myAudioTracks = sourceBuffer.audioTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/audioTracks

Property.

The audioTracks read-only property of the `web.SourceBuffer`
returns a list of the audio tracks currently contained inside
SourceBuffer.

`var myAudioTracks = sourceBuffer.audioTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/audioTracks`
sourceraw docstring

bufferedcljs

(buffered this)

Property.

The buffered read-only property of the web.SourceBuffer interface the time ranges that are currently buffered in the SourceBuffer a normalized web.TimeRanges object.

var myBufferedRange = sourceBuffer.buffered;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered

Property.

The buffered read-only property of the `web.SourceBuffer` interface
the time ranges that are currently buffered in the SourceBuffer
a normalized `web.TimeRanges` object.

`var myBufferedRange = sourceBuffer.buffered;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered`
sourceraw docstring

change-typecljs

(change-type this type)

Method.

The web.SourceBuffer method changeType() sets the MIME type future calls to web.appendBuffer() should expect the new media to conform to.

sourceBuffer.changeType(type);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/changeType

Method.

The `web.SourceBuffer` method changeType() sets the MIME type
future calls to `web.appendBuffer()` should expect the new media
to conform to.

`sourceBuffer.changeType(type);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/changeType`
sourceraw docstring

modecljs

(mode this)

Property.

The mode property of the web.SourceBuffer interface controls media segments can be appended to the SourceBuffer in any order, in a strict sequence.

`var myMode = sourceBuffer.mode;

sourceBuffer.mode = 'sequence';`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode

Property.

The mode property of the `web.SourceBuffer` interface controls
media segments can be appended to the SourceBuffer in any order,
in a strict sequence.

`var myMode = sourceBuffer.mode;

sourceBuffer.mode = 'sequence';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode`
sourceraw docstring

removecljs

(remove this start end)

Method.

The remove() method of the web.SourceBuffer interface removes segments within a specific time range from the SourceBuffer. method can only be called when web.SourceBuffer.updating equals If SourceBuffer.updating is not equal to false, call web.SourceBuffer.abort().

sourceBuffer.remove(start, end);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/remove

Method.

The remove() method of the `web.SourceBuffer` interface removes
segments within a specific time range from the SourceBuffer.
method can only be called when `web.SourceBuffer.updating` equals
If SourceBuffer.updating is not equal to false, call `web.SourceBuffer.abort()`.

`sourceBuffer.remove(start, end);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/remove`
sourceraw docstring

remove-asynccljs

(remove-async this start end)

Method.

The removeAsync() method of the web.SourceBuffer interface the process of asynchronously removing from the SourceBuffer segments found within a specific time range.

removePromise = sourceBuffer.removeAsync(start, end);

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/removeAsync

Method.

The removeAsync() method of the `web.SourceBuffer` interface
the process of asynchronously removing from the SourceBuffer
segments found within a specific time range.

`removePromise = sourceBuffer.removeAsync(start, end);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/removeAsync`
sourceraw docstring

set-append-window-end!cljs

(set-append-window-end! this val)

Property.

The appendWindowEnd property of the web.SourceBuffer interface the timestamp for the end of the append window, a timestamp range can be used to filter what media data is appended to the SourceBuffer. media frames with timestamps wthin this range will be appended, those outside the range will be filtered out.

`var myAppendWindowEnd = sourceBuffer.appendWindowEnd;

sourceBuffer.appendWindowEnd = 120.0;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd

Property.

The appendWindowEnd property of the `web.SourceBuffer` interface
the timestamp for the end of the append window, a timestamp range
can be used to filter what media data is appended to the SourceBuffer.
media frames with timestamps wthin this range will be appended,
those outside the range will be filtered out.

`var myAppendWindowEnd = sourceBuffer.appendWindowEnd;

sourceBuffer.appendWindowEnd = 120.0;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowEnd`
sourceraw docstring

set-append-window-start!cljs

(set-append-window-start! this val)

Property.

The appendWindowStart property of the web.SourceBuffer interface the timestamp for the start of the append window, a timestamp that can be used to filter what media data is appended to the Coded media frames with timestamps wthin this range will be appended, those outside the range will be filtered out.

`var myAppendWindowStart = sourceBuffer.appendWindowStart;

sourceBuffer.appendWindowStart = 2.0;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart

Property.

The appendWindowStart property of the `web.SourceBuffer` interface
the timestamp for the start of the append window, a timestamp
that can be used to filter what media data is appended to the
Coded media frames with timestamps wthin this range will be appended,
those outside the range will be filtered out.

`var myAppendWindowStart = sourceBuffer.appendWindowStart;

sourceBuffer.appendWindowStart = 2.0;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/appendWindowStart`
sourceraw docstring

set-audio-tracks!cljs

(set-audio-tracks! this val)

Property.

The audioTracks read-only property of the web.SourceBuffer returns a list of the audio tracks currently contained inside SourceBuffer.

var myAudioTracks = sourceBuffer.audioTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/audioTracks

Property.

The audioTracks read-only property of the `web.SourceBuffer`
returns a list of the audio tracks currently contained inside
SourceBuffer.

`var myAudioTracks = sourceBuffer.audioTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/audioTracks`
sourceraw docstring

set-buffered!cljs

(set-buffered! this val)

Property.

The buffered read-only property of the web.SourceBuffer interface the time ranges that are currently buffered in the SourceBuffer a normalized web.TimeRanges object.

var myBufferedRange = sourceBuffer.buffered;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered

Property.

The buffered read-only property of the `web.SourceBuffer` interface
the time ranges that are currently buffered in the SourceBuffer
a normalized `web.TimeRanges` object.

`var myBufferedRange = sourceBuffer.buffered;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/buffered`
sourceraw docstring

set-mode!cljs

(set-mode! this val)

Property.

The mode property of the web.SourceBuffer interface controls media segments can be appended to the SourceBuffer in any order, in a strict sequence.

`var myMode = sourceBuffer.mode;

sourceBuffer.mode = 'sequence';`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode

Property.

The mode property of the `web.SourceBuffer` interface controls
media segments can be appended to the SourceBuffer in any order,
in a strict sequence.

`var myMode = sourceBuffer.mode;

sourceBuffer.mode = 'sequence';`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/mode`
sourceraw docstring

set-text-tracks!cljs

(set-text-tracks! this val)

Property.

The textTracks read-only property of the web.SourceBuffer interface a list of the text tracks currently contained inside the SourceBuffer.

var myTextTracks = sourceBuffer.textTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/textTracks

Property.

The textTracks read-only property of the `web.SourceBuffer` interface
a list of the text tracks currently contained inside the SourceBuffer.

`var myTextTracks = sourceBuffer.textTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/textTracks`
sourceraw docstring

set-timestamp-offset!cljs

(set-timestamp-offset! this val)

Property.

The timestampOffset property of the web.SourceBuffer interface the offset applied to timestamps inside media segments that are to the SourceBuffer.

`var myOffset = sourceBuffer.timestampOffset;

sourceBuffer.timestampOffset = 2.5;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset

Property.

The timestampOffset property of the `web.SourceBuffer` interface
the offset applied to timestamps inside media segments that are
to the SourceBuffer.

`var myOffset = sourceBuffer.timestampOffset;

sourceBuffer.timestampOffset = 2.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset`
sourceraw docstring

set-track-defaults!cljs

(set-track-defaults! this val)

Property.

The trackDefaults property of the web.SourceBuffer interface the default values to use if kind, label, and/or language information not available in the initialization segment of the media to be to the SourceBuffer.

`var myTrackDefaults = sourceBuffer.trackDefaults;

sourceBuffer.trackDefaults = myTrackDefaultList;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/trackDefaults

Property.

The trackDefaults property of the `web.SourceBuffer` interface
the default values to use if kind, label, and/or language information
not available in the initialization segment of the media to be
to the SourceBuffer.

`var myTrackDefaults = sourceBuffer.trackDefaults;

sourceBuffer.trackDefaults = myTrackDefaultList;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/trackDefaults`
sourceraw docstring

set-updating!cljs

(set-updating! this val)

Property.

The updating read-only property of the web.SourceBuffer interface whether the SourceBuffer is currently being updated — i.e. whether web.SourceBuffer.appendBuffer(), web.SourceBuffer.appendStream(), web.SourceBuffer.remove() operation is currently in progress.

var isUpdating = sourceBuffer.updating;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating

Property.

The updating read-only property of the `web.SourceBuffer` interface
whether the SourceBuffer is currently being updated — i.e. whether
`web.SourceBuffer.appendBuffer()`, `web.SourceBuffer.appendStream()`,
`web.SourceBuffer.remove()` operation is currently in progress.

`var isUpdating = sourceBuffer.updating;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating`
sourceraw docstring

set-video-tracks!cljs

(set-video-tracks! this val)

Property.

The videoTracks read-only property of the web.SourceBuffer returns a list of the video tracks currently contained inside SourceBuffer.

var myVideoTracks = sourceBuffer.videoTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/videoTracks

Property.

The videoTracks read-only property of the `web.SourceBuffer`
returns a list of the video tracks currently contained inside
SourceBuffer.

`var myVideoTracks = sourceBuffer.videoTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/videoTracks`
sourceraw docstring

text-trackscljs

(text-tracks this)

Property.

The textTracks read-only property of the web.SourceBuffer interface a list of the text tracks currently contained inside the SourceBuffer.

var myTextTracks = sourceBuffer.textTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/textTracks

Property.

The textTracks read-only property of the `web.SourceBuffer` interface
a list of the text tracks currently contained inside the SourceBuffer.

`var myTextTracks = sourceBuffer.textTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/textTracks`
sourceraw docstring

timestamp-offsetcljs

(timestamp-offset this)

Property.

The timestampOffset property of the web.SourceBuffer interface the offset applied to timestamps inside media segments that are to the SourceBuffer.

`var myOffset = sourceBuffer.timestampOffset;

sourceBuffer.timestampOffset = 2.5;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset

Property.

The timestampOffset property of the `web.SourceBuffer` interface
the offset applied to timestamps inside media segments that are
to the SourceBuffer.

`var myOffset = sourceBuffer.timestampOffset;

sourceBuffer.timestampOffset = 2.5;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/timestampOffset`
sourceraw docstring

track-defaultscljs

(track-defaults this)

Property.

The trackDefaults property of the web.SourceBuffer interface the default values to use if kind, label, and/or language information not available in the initialization segment of the media to be to the SourceBuffer.

`var myTrackDefaults = sourceBuffer.trackDefaults;

sourceBuffer.trackDefaults = myTrackDefaultList;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/trackDefaults

Property.

The trackDefaults property of the `web.SourceBuffer` interface
the default values to use if kind, label, and/or language information
not available in the initialization segment of the media to be
to the SourceBuffer.

`var myTrackDefaults = sourceBuffer.trackDefaults;

sourceBuffer.trackDefaults = myTrackDefaultList;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/trackDefaults`
sourceraw docstring

updatingcljs

(updating this)

Property.

The updating read-only property of the web.SourceBuffer interface whether the SourceBuffer is currently being updated — i.e. whether web.SourceBuffer.appendBuffer(), web.SourceBuffer.appendStream(), web.SourceBuffer.remove() operation is currently in progress.

var isUpdating = sourceBuffer.updating;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating

Property.

The updating read-only property of the `web.SourceBuffer` interface
whether the SourceBuffer is currently being updated — i.e. whether
`web.SourceBuffer.appendBuffer()`, `web.SourceBuffer.appendStream()`,
`web.SourceBuffer.remove()` operation is currently in progress.

`var isUpdating = sourceBuffer.updating;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/updating`
sourceraw docstring

video-trackscljs

(video-tracks this)

Property.

The videoTracks read-only property of the web.SourceBuffer returns a list of the video tracks currently contained inside SourceBuffer.

var myVideoTracks = sourceBuffer.videoTracks;

See also: https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/videoTracks

Property.

The videoTracks read-only property of the `web.SourceBuffer`
returns a list of the video tracks currently contained inside
SourceBuffer.

`var myVideoTracks = sourceBuffer.videoTracks;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/SourceBuffer/videoTracks`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close