Type alias TrackAlpha

Track: Ham & {
    bandwidth: number;
    byteRange?: string;
    codec: string;
    duration: number;
    fileName?: string;
    language: string;
    segments: Segment[];
    type: TrackType;
    urlInitialization?: string;
}

CMAF-HAM Track type Used as a base for the audio, video and text tracks

type - The TrackType fileName - File name of the track. codec - Codec of the track. duration - Duration of the track in seconds language - Language of the track. bandwidth - Bandwidth of the track. byteRange - Byte range of the track. segments - List of segments of the track.

Type declaration

  • bandwidth: number
  • Optional byteRange?: string
  • codec: string
  • duration: number
  • Optional fileName?: string
  • language: string
  • segments: Segment[]
  • type: TrackType

    Track type

  • Optional urlInitialization?: string

    URL of the initialization segment