VideoTrack
Properties
Name | Type | Access | Min Version | Description |
---|---|---|---|---|
name | string | R | 25.0 | Get the name of the track |
id | number | R | 25.0 | The ID of the track within the TrackGroup |
Instance Methods
getIndex
25.0number
Index representing the track index of this track within the track group.
getMediaType
25.0Guid
UUID representing the underlying media type of this track
getTrackItems
25.0any
Returns array of VideoClipTrackItem from the track item type
Parameters
Name | Type | Description |
---|---|---|
trackItemType | number | This values can be Empty (0), Clip (1), Transition (2), Preview (3) or Feedback (4) |
includeEmptyTrackItems | boolean | - |
isMuted
25.0boolean
Get mute state of the track
setMute
25.0boolean
sets the mute state of the track to muted/unmuted
Parameters
Name | Type | Description |
---|---|---|
mute | boolean | - |
Events
| Name | Version | Description | | :------ | :------ | :------ || EVENT_TRACK_CHANGED | 25.0 | Event Object for Track changed | | EVENT_TRACK_INFO_CHANGED | 25.0 | Event Object for Track Info Changed | | EVENT_TRACK_LOCK_CHANGED | 25.0 | Event Object for Track Lock Changed |