Liking cljdoc? Tell your friends :D

web.audio.SourceBuffer

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

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

abortcljs

(abort this)

Method.

The abort() method of the web.audio.SourceBuffer interface the 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.audio.SourceBuffer` interface
the 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.audio.SourceBuffer interface media segment data from an js.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.audio.SourceBuffer` interface
media segment data from an `js.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.audio.SourceBuffer method appendBufferAsync() begins process of asynchronously appending media segment data from an or web.typed.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.audio.SourceBuffer` method appendBufferAsync() begins
process of asynchronously appending media segment data from an
or `web.typed.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.audio.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.audio.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.audio.SourceBuffer controls the timestamp for the end 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 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.audio.SourceBuffer`
controls the timestamp for the end 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 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.audio.SourceBuffer controls the timestamp for the start of the append window, a range that can be used to filter what media data is appended the SourceBuffer. Coded media frames with timestamps wthin this will be appended, whereas those outside the range will be filtered

`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.audio.SourceBuffer`
controls the timestamp for the start of the append window, a
range that can be used to filter what media data is appended
the SourceBuffer. Coded media frames with timestamps wthin this
will be appended, whereas those outside the range will be filtered

`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.audio.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.audio.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.audio.SourceBuffer returns the time ranges that are currently buffered in the SourceBuffer a normalized web.media.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.audio.SourceBuffer`
returns the time ranges that are currently buffered in the SourceBuffer
a normalized `web.media.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.audio.SourceBuffer method changeType() sets the MIME that future calls to 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.audio.SourceBuffer` method changeType() sets the MIME
that future calls to `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.audio.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.audio.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

onabortcljs

(onabort this)

Property.

Fired whenever SourceBuffer.appendBuffer() or SourceBuffer.appendStream() ended by a call to SourceBuffer.abort(). SourceBuffer.updating from true to false.

Property.

Fired whenever SourceBuffer.appendBuffer() or SourceBuffer.appendStream()
ended by a call to SourceBuffer.abort(). SourceBuffer.updating
from true to false.
sourceraw docstring

removecljs

(remove this start end)

Method.

The remove() method of the web.audio.SourceBuffer interface media segments within a specific time range from the SourceBuffer. method can only be called when SourceBuffer.updating equals If SourceBuffer.updating is not equal to false, call 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.audio.SourceBuffer` interface
media segments within a specific time range from the SourceBuffer.
method can only be called when `SourceBuffer.updating` equals
If SourceBuffer.updating is not equal to false, call `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.audio.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.audio.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.audio.SourceBuffer controls the timestamp for the end 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 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.audio.SourceBuffer`
controls the timestamp for the end 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 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.audio.SourceBuffer controls the timestamp for the start of the append window, a range that can be used to filter what media data is appended the SourceBuffer. Coded media frames with timestamps wthin this will be appended, whereas those outside the range will be filtered

`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.audio.SourceBuffer`
controls the timestamp for the start of the append window, a
range that can be used to filter what media data is appended
the SourceBuffer. Coded media frames with timestamps wthin this
will be appended, whereas those outside the range will be filtered

`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.audio.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.audio.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.audio.SourceBuffer returns the time ranges that are currently buffered in the SourceBuffer a normalized web.media.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.audio.SourceBuffer`
returns the time ranges that are currently buffered in the SourceBuffer
a normalized `web.media.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.audio.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.audio.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-onabort!cljs

(set-onabort! this val)

Property.

Fired whenever SourceBuffer.appendBuffer() or SourceBuffer.appendStream() ended by a call to SourceBuffer.abort(). SourceBuffer.updating from true to false.

Property.

Fired whenever SourceBuffer.appendBuffer() or SourceBuffer.appendStream()
ended by a call to SourceBuffer.abort(). SourceBuffer.updating
from true to false.
sourceraw docstring

set-text-tracks!cljs

(set-text-tracks! this val)

Property.

The textTracks read-only property of the web.audio.SourceBuffer returns a list of the text tracks currently contained inside 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.audio.SourceBuffer`
returns a list of the text tracks currently contained inside
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.audio.SourceBuffer controls the offset applied to timestamps inside media segments are appended 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.audio.SourceBuffer`
controls the offset applied to timestamps inside media segments
are appended 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.audio.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.audio.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.audio.SourceBuffer indicates whether the SourceBuffer is currently being updated i.e. whether an SourceBuffer.appendBuffer(), SourceBuffer.appendStream(), 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.audio.SourceBuffer`
indicates whether the SourceBuffer is currently being updated
i.e. whether an `SourceBuffer.appendBuffer()`, `SourceBuffer.appendStream()`,
`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.audio.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.audio.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.audio.SourceBuffer returns a list of the text tracks currently contained inside 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.audio.SourceBuffer`
returns a list of the text tracks currently contained inside
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.audio.SourceBuffer controls the offset applied to timestamps inside media segments are appended 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.audio.SourceBuffer`
controls the offset applied to timestamps inside media segments
are appended 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.audio.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.audio.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.audio.SourceBuffer indicates whether the SourceBuffer is currently being updated i.e. whether an SourceBuffer.appendBuffer(), SourceBuffer.appendStream(), 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.audio.SourceBuffer`
indicates whether the SourceBuffer is currently being updated
i.e. whether an `SourceBuffer.appendBuffer()`, `SourceBuffer.appendStream()`,
`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.audio.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.audio.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