Skip to content

AlternativeVideo

Type · TDLib 1.8.67 · d1085f9c

Describes an alternative re-encoded quality of a video file

AlternativeVideo(
  id: int64,
  width: int32,
  height: int32,
  codec: string,
  hls_file: File,
  video: File
) → AlternativeVideo

id

int64

Unique identifier of the alternative video, which is used in the HLS file

width

int32

Video width

height

int32

Video height

codec

string

Codec used for video file encoding, for example, "h264", "h265", "av1", or "av01"

hls_file

File

HLS file describing the video

video

File

File containing the video