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

  • Alphabandwidth: number
  • Optional AlphabyteRange?: string
  • Alphacodec: string
  • Alphaduration: number
  • Optional AlphafileName?: string
  • Alphalanguage: string
  • Alphasegments: Segment[]
  • Alphatype: TrackType

    Track type

  • Optional AlphaurlInitialization?: string

    URL of the initialization segment