The TrackDefault interface provides a web.SourceBuffer
with
label, and language information for tracks that do not contain
information in the initialization segments of a media chunk.
The TrackDefault interface provides a `web.SourceBuffer` with label, and language information for tracks that do not contain information in the initialization segments of a media chunk.
(byte-stream-track-id this)
Property.
The byteStreamTrackID read-only property of the web.TrackDefault
returns the ID of the specific track that the web.SourceBuffer
apply to.
var myID = TrackDefault.byteStreamTrackID;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/byteStreamTrackID
Property. The byteStreamTrackID read-only property of the `web.TrackDefault` returns the ID of the specific track that the `web.SourceBuffer` apply to. `var myID = TrackDefault.byteStreamTrackID;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/byteStreamTrackID`
Constructor.
The TrackDefault() constructor of the web.TrackDefault
interface constructs and returns a new TrackDefault object.
type
A dom.DOMString
specifying a media segment data type for the web.SourceBuffer
to contain. Can be audio, video, or text.
language
A dom.DOMString
specifying a default language for the web.SourceBuffer
to use when an initialization segment does not contain language information for a new track.
label
A dom.DOMString
specifying a default label for the web.SourceBuffer
to use when an initialization segment does not contain label information for a new track.
kinds
An array (sequence) of dom.DOMString
s specifying default kinds for the web.SourceBuffer
to use when an initialization segment does not contain kind information for a new track.
byteStreamTrackID Optional
A dom.DOMString
specifying the ID of the specific track that the web.SourceBuffer
should apply to. If not specified, this value will be an empty string and the SourceBuffer can contain any tracks of the specified type.
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/TrackDefault
Constructor. The TrackDefault() constructor of the `web.TrackDefault` interface constructs and returns a new TrackDefault object. type A `dom.DOMString` specifying a media segment data type for the `web.SourceBuffer` to contain. Can be audio, video, or text. language A `dom.DOMString` specifying a default language for the `web.SourceBuffer` to use when an initialization segment does not contain language information for a new track. label A `dom.DOMString` specifying a default label for the `web.SourceBuffer` to use when an initialization segment does not contain label information for a new track. kinds An array (sequence) of `dom.DOMString`s specifying default kinds for the `web.SourceBuffer` to use when an initialization segment does not contain kind information for a new track. byteStreamTrackID Optional A `dom.DOMString` specifying the ID of the specific track that the `web.SourceBuffer` should apply to. If not specified, this value will be an empty string and the SourceBuffer can contain any tracks of the specified type. See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/TrackDefault`
(kinds this)
Property.
The kinds read-only property of the web.TrackDefault
interface
default kinds for an associated web.SourceBuffer
to use when
initialization segment does not contain label information for
new track.
var mykinds = TrackDefault.kinds;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/kinds
Property. The kinds read-only property of the `web.TrackDefault` interface default kinds for an associated `web.SourceBuffer` to use when initialization segment does not contain label information for new track. `var mykinds = TrackDefault.kinds;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/kinds`
(label this)
Property.
The label read-only property of the web.TrackDefault
interface
the default label for an associated web.SourceBuffer
to use
an initialization segment does not contain label information
a new track.
var mylabel = TrackDefault.label;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/label
Property. The label read-only property of the `web.TrackDefault` interface the default label for an associated `web.SourceBuffer` to use an initialization segment does not contain label information a new track. `var mylabel = TrackDefault.label;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/label`
(language this)
Property.
The language read-only property of the web.TrackDefault
interface
a default language for an associated web.SourceBuffer
to use
an initialization segment does not contain language information
a new track.
var mylanguage = TrackDefault.language;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/language
Property. The language read-only property of the `web.TrackDefault` interface a default language for an associated `web.SourceBuffer` to use an initialization segment does not contain language information a new track. `var mylanguage = TrackDefault.language;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/language`
(set-byte-stream-track-id! this val)
Property.
The byteStreamTrackID read-only property of the web.TrackDefault
returns the ID of the specific track that the web.SourceBuffer
apply to.
var myID = TrackDefault.byteStreamTrackID;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/byteStreamTrackID
Property. The byteStreamTrackID read-only property of the `web.TrackDefault` returns the ID of the specific track that the `web.SourceBuffer` apply to. `var myID = TrackDefault.byteStreamTrackID;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/byteStreamTrackID`
(set-kinds! this val)
Property.
The kinds read-only property of the web.TrackDefault
interface
default kinds for an associated web.SourceBuffer
to use when
initialization segment does not contain label information for
new track.
var mykinds = TrackDefault.kinds;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/kinds
Property. The kinds read-only property of the `web.TrackDefault` interface default kinds for an associated `web.SourceBuffer` to use when initialization segment does not contain label information for new track. `var mykinds = TrackDefault.kinds;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/kinds`
(set-label! this val)
Property.
The label read-only property of the web.TrackDefault
interface
the default label for an associated web.SourceBuffer
to use
an initialization segment does not contain label information
a new track.
var mylabel = TrackDefault.label;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/label
Property. The label read-only property of the `web.TrackDefault` interface the default label for an associated `web.SourceBuffer` to use an initialization segment does not contain label information a new track. `var mylabel = TrackDefault.label;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/label`
(set-language! this val)
Property.
The language read-only property of the web.TrackDefault
interface
a default language for an associated web.SourceBuffer
to use
an initialization segment does not contain language information
a new track.
var mylanguage = TrackDefault.language;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/language
Property. The language read-only property of the `web.TrackDefault` interface a default language for an associated `web.SourceBuffer` to use an initialization segment does not contain language information a new track. `var mylanguage = TrackDefault.language;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/language`
(set-type! this val)
Property.
The type read-only property of the web.TrackDefault
interface
the type of track that this web.SourceBuffer
's media segment
relates to (i.e. audio, video, or text track.)
var myType = TrackDefault.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/type
Property. The type read-only property of the `web.TrackDefault` interface the type of track that this `web.SourceBuffer`'s media segment relates to (i.e. audio, video, or text track.) `var myType = TrackDefault.type;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/type`
(type this)
Property.
The type read-only property of the web.TrackDefault
interface
the type of track that this web.SourceBuffer
's media segment
relates to (i.e. audio, video, or text track.)
var myType = TrackDefault.type;
See also: https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/type
Property. The type read-only property of the `web.TrackDefault` interface the type of track that this `web.SourceBuffer`'s media segment relates to (i.e. audio, video, or text track.) `var myType = TrackDefault.type;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefault/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close