Interface ContentComponentType

Describes a component of the content, such as audio or video track, including optional identifiers and descriptors for accessibility, rating, role, and viewpoint.

interface ContentComponentType {
    Accessibility?: readonly DescriptorType[];
    Rating?: readonly DescriptorType[];
    Role?: readonly DescriptorType[];
    Viewpoint?: readonly DescriptorType[];
    contentType?: string;
    id?: number;
    lang?: string;
    par?: Ratio;
}

Properties

Accessibility?: readonly DescriptorType[]

Descriptors to provide accessibility information about the content component.

Rating?: readonly DescriptorType[]

Descriptors to provide rating information about the content component.

Role?: readonly DescriptorType[]

Descriptors to define the role of the content component within the presentation.

Viewpoint?: readonly DescriptorType[]

Descriptors to provide viewpoint information, enhancing the descriptive richness of the content component.

contentType?: string

The MIME type of the content component (e.g., video/mp4).

id?: number

A unique identifier for this component.

lang?: string

The language of the content component, using BCP 47 language tags.

par?: Ratio

The aspect ratio of the video component, if applicable.