Package org.drinkless.tdlib
Class TdApi.AlternativeVideo
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AlternativeVideo
- Enclosing class:
- TdApi
Describes an alternative re-encoded quality of a video file.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCodec used for video file encoding, for example, "h264", "h265", or "av1".static final int
Identifier uniquely determining type of the object.int
Video height.HLS file describing the video.long
Unique identifier of the alternative video, which is used in the HLS file.File containing the video.int
Video width. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an alternative re-encoded quality of a video file.AlternativeVideo
(long id, int width, int height, String codec, TdApi.File hlsFile, TdApi.File video) Describes an alternative re-encoded quality of a video file. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public long idUnique identifier of the alternative video, which is used in the HLS file. -
width
public int widthVideo width. -
height
public int heightVideo height. -
codec
Codec used for video file encoding, for example, "h264", "h265", or "av1". -
hlsFile
HLS file describing the video. -
video
File containing the video. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AlternativeVideo
public AlternativeVideo()Describes an alternative re-encoded quality of a video file. -
AlternativeVideo
public AlternativeVideo(long id, int width, int height, String codec, TdApi.File hlsFile, TdApi.File video) Describes an alternative re-encoded quality of a video file.- Parameters:
id
- Unique identifier of the alternative video, which is used in the HLS file.width
- Video width.height
- Video height.codec
- Codec used for video file encoding, for example, "h264", "h265", or "av1".hlsFile
- HLS file describing the video.video
- File containing the video.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-