@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="VideoTrack")
public class VideoTrack
extends JsObject
| Modifier and Type | Field and Description |
|---|---|
boolean |
selected
The VideoTrack property selected controls whether or not a particular video track is active.
|
| Modifier | Constructor and Description |
|---|---|
protected |
VideoTrack() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
id()
The id property contains a string which uniquely identifies the track represented by the VideoTrack.
|
java.lang.String |
kind()
The kind property contains a string indicating the category of video contained in the VideoTrack.
|
java.lang.String |
label()
The read-only VideoTrack property label returns a string specifying the video track's human-readable label, if one is available; otherwise, it returns an empty string.
|
java.lang.String |
language()
The read-only VideoTrack property language returns a string identifying the language used in the video track.
|
SourceBuffer |
sourceBuffer()
The read-only VideoTrack property sourceBuffer returns the SourceBuffer that created the track, or null if the track was not created by a SourceBuffer or the SourceBuffer has been removed from the MediaSource.sourceBuffers attribute of its parent media source.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic boolean selected
@JsProperty(name="id") @Nonnull public java.lang.String id()
@JsProperty(name="kind") @Nonnull public java.lang.String kind()
@JsProperty(name="label") @Nonnull public java.lang.String label()
@JsProperty(name="language") @Nonnull public java.lang.String language()
@JsProperty(name="sourceBuffer") @Nullable public SourceBuffer sourceBuffer()