Alpha
Validate a list of tracks. It validates in cascade, calling each child validation method.
List of Track from cmaf ham model
Optional
Optional: parent switching set id
Optional: validation object from parent previous validate method call
Validation
import cmaf, { Track } from '@svta/common-media-library/cmaf-ham';...// const tracks: Track[] = ...;const validation = cmaf.validateTracks(tracks); Copy
import cmaf, { Track } from '@svta/common-media-library/cmaf-ham';...// const tracks: Track[] = ...;const validation = cmaf.validateTracks(tracks);
Example output: { status: true|false, errorMessages: [...] }
{ status: true|false, errorMessages: [...] }
Validate a list of tracks. It validates in cascade, calling each child validation method.