videodb / Exports / core/asset / AudioAsset
core/asset.AudioAsset
AudioAsset class
-
MediaAsset
↳
AudioAsset
• new AudioAsset(assetId
, config?
): AudioAsset
Initializes a AudioAsset instance
Name | Type | Description |
---|---|---|
assetId |
string |
The id of the audio asset. |
config? |
Partial <AudioAssetConfig > |
The configuration of the audio asset. |
A new AudioAsset instance.
MediaAsset.constructor
• assetId: string
MediaAsset.assetId
• disableOtherTracks: boolean
• end: null
| number
• fadeInDuration: number
• fadeOutDuration: number
• start: number
▸ toJSON(): Object
Object
Name | Type |
---|---|
assetId |
string |
disableOtherTracks |
boolean |
end |
null | number |
fadeInDuration |
number |
fadeOutDuration |
number |
start |
number |