- Enclosing class:
- TdApi
Returns a file with a segment of a group call stream in a modified
OGG format for audio or MPEG-4 format for video.
Returns FilePart
-
Field Summary
Modifier and TypeFieldDescriptionint
Identifier of an audio/video channel to get as received from tgcalls.static final int
Identifier uniquely determining type of the object.int
Group call identifier.int
Segment duration scale; 0-1.long
Point in time when the stream segment begins; Unix timestamp in milliseconds.Video quality as received from tgcalls; pass null to get the worst available quality. -
Constructor Summary
ConstructorDescriptionReturns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.GetGroupCallStreamSegment
(int groupCallId, long timeOffset, int scale, int channelId, TdApi.GroupCallVideoQuality videoQuality) Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
groupCallId
public int groupCallIdGroup call identifier. -
timeOffset
public long timeOffsetPoint in time when the stream segment begins; Unix timestamp in milliseconds. -
scale
public int scaleSegment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds. -
channelId
public int channelIdIdentifier of an audio/video channel to get as received from tgcalls. -
videoQuality
Video quality as received from tgcalls; pass null to get the worst available quality. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetGroupCallStreamSegment
public GetGroupCallStreamSegment()Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.Returns
FilePart
-
GetGroupCallStreamSegment
public GetGroupCallStreamSegment(int groupCallId, long timeOffset, int scale, int channelId, TdApi.GroupCallVideoQuality videoQuality) Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.Returns
FilePart
- Parameters:
groupCallId
- Group call identifier.timeOffset
- Point in time when the stream segment begins; Unix timestamp in milliseconds.scale
- Segment duration scale; 0-1. Segment's duration is 1000/(2**scale) milliseconds.channelId
- Identifier of an audio/video channel to get as received from tgcalls.videoQuality
- Video quality as received from tgcalls; pass null to get the worst available quality.Returns
FilePart
-
GetGroupCallStreamSegment
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video.Returns
FilePart
- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-