Alpha
Validate a presentation. It validates in cascade, calling each child validation method.
Validations:
Presentation from cmaf ham model
Validation
import cmaf, { Presentation } from '@svta/common-media-library/cmaf-ham';...// const presentation: Presentation = ...;const validation = cmaf.validatePresentation(presentation); Copy
import cmaf, { Presentation } from '@svta/common-media-library/cmaf-ham';...// const presentation: Presentation = ...;const validation = cmaf.validatePresentation(presentation);
Example output: { status: true|false, errorMessages: [...] }
{ status: true|false, errorMessages: [...] }
Validate a presentation. It validates in cascade, calling each child validation method.
Validations: