interface Period {
    id: string;
    properties: {
        [key: string]: string;
    };
    getAudioTracks(): AudioTrack[];
    getMetadata(): Metadata[];
    getTextTracks(): TextTrack[];
    getVideoTracks(): VideoTrack[];
}

Properties

id: string

The ID of the Period.

properties: {
    [key: string]: string;
}

Contains Period attributes as defined in the MPD.

Type declaration

  • [key: string]: string

Methods

  • Returns metadata contained in the EventStream of the Period.

    Returns Metadata[]

  • Returns available text tracks of the Period.

    Returns TextTrack[]