Optional
options: MaskOptionsThe start time in seconds relative to the startTime from which to extract audio samples.
Optional
duration: numberThe duration in seconds for which to extract audio samples.
An array of Float32Array representing the audio samples, or null if the media data is unavailable.
Retrieves the data for the filmstrip associated with this clip.
An array of IFilmstripData objects representing the filmstrip data. If the clip is not associated with any media data or the media data does not have a filmstrip, an empty array is returned.
Retrieves a range of data from the filmstrip associated with this clip.
The start time of the range in seconds, in case it lands between two filmstrip data points returns the lowest.
The end time of the range in seconds, in case it lands between two filmstrip data points returns the highest.
An array of IFilmstripData objects representing the filmstrip data in the specified range. If the clip is not associated with any media data or the media data does not have a filmstrip, or if the range is invalid, an empty array is returned.
Retrieves the current state of the filmstrip extraction process for the associated media data.
The current state of the filmstrip extraction process. It can be one of the following values:
FilmStripStateEnum.NONE
: No filmstrip extraction process is currently running.FilmStripStateEnum.PARTIAL
: The filmstrip extraction process is partially complete.FilmStripStateEnum.DONE
: The filmstrip extraction process is complete.FilmStripStateEnum.ERROR
: An error occurred during the filmstrip extraction process.Static
deserialize
Retrieves audio samples for a specified time range relative to the startTime from the associated media data.