Alpha
Validate a track. It validates in cascade, calling each child validation method.
Validations:
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 track: Track = ...;const validation = cmaf.validateTrack(track); Copy
import cmaf, { Track } from '@svta/common-media-library/cmaf-ham';...// const track: Track = ...;const validation = cmaf.validateTrack(track);
Example output: { status: true|false, errorMessages: [...] }
{ status: true|false, errorMessages: [...] }
Validate a track. It validates in cascade, calling each child validation method.
Validations: