Server Gateway SDK v3.7.200.21 for Linux Java
|
Public Member Functions | |
EncodedVideoFrameInfo () | |
EncodedVideoFrameInfo (int codecType, int width, int height, int framesPerSecond, int frameType, int rotation, int trackId, long captureTimeMs, long renderTimeMs, long internalSendTs, int uid, int streamType) | |
int | getCodecType () |
void | setCodecType (int codecType) |
int | getWidth () |
void | setWidth (int width) |
int | getHeight () |
void | setHeight (int height) |
int | getFramesPerSecond () |
void | setFramesPerSecond (int framesPerSecond) |
int | getFrameType () |
void | setFrameType (int frameType) |
int | getRotation () |
void | setRotation (int rotation) |
int | getTrackId () |
void | setTrackId (int trackId) |
long | getCaptureTimeMs () |
void | setCaptureTimeMs (long captureTimeMs) |
long | getRenderTimeMs () |
void | setRenderTimeMs (long renderTimeMs) |
long | getInternalSendTs () |
void | setInternalSendTs (long internalSendTs) |
int | getUid () |
void | setUid (int uid) |
int | getStreamType () |
void | setStreamType (int streamType) |
The EncodedVideoFrameInfo
class.
io.agora.rtc.EncodedVideoFrameInfo.EncodedVideoFrameInfo | ( | ) |
io.agora.rtc.EncodedVideoFrameInfo.EncodedVideoFrameInfo | ( | int | codecType, |
int | width, | ||
int | height, | ||
int | framesPerSecond, | ||
int | frameType, | ||
int | rotation, | ||
int | trackId, | ||
long | captureTimeMs, | ||
long | renderTimeMs, | ||
long | internalSendTs, | ||
int | uid, | ||
int | streamType | ||
) |
Constructor.
codecType | The video codec.
|
width | The width (px) of the video. |
height | The height (px) of the video. |
framesPerSecond | The number of video frames per second. This value will be used for calculating timestamps of the encoded image. |
frameType | The frame type of the encoded video frame。
|
rotation | The rotation information of the encoded video frame.
|
trackId | The track ID of the video frame. |
captureTimeMs | The timestamp (ms) for capturing the video. |
renderTimeMs | The timestamp (ms) for rendering the video. |
internalSendTs | Use this timestamp for audio and video sync. You can get this timestamp from the onEncodedVideoImageReceived callback when encodedFrameOnly is 0 . |
uid | ID of the user. |
long io.agora.rtc.EncodedVideoFrameInfo.getCaptureTimeMs | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getCodecType | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getFramesPerSecond | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getFrameType | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getHeight | ( | ) |
long io.agora.rtc.EncodedVideoFrameInfo.getInternalSendTs | ( | ) |
long io.agora.rtc.EncodedVideoFrameInfo.getRenderTimeMs | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getRotation | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getStreamType | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getTrackId | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getUid | ( | ) |
int io.agora.rtc.EncodedVideoFrameInfo.getWidth | ( | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setCaptureTimeMs | ( | long | captureTimeMs | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setCodecType | ( | int | codecType | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setFramesPerSecond | ( | int | framesPerSecond | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setFrameType | ( | int | frameType | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setHeight | ( | int | height | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setInternalSendTs | ( | long | internalSendTs | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setRenderTimeMs | ( | long | renderTimeMs | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setRotation | ( | int | rotation | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setStreamType | ( | int | streamType | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setTrackId | ( | int | trackId | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setUid | ( | int | uid | ) |
void io.agora.rtc.EncodedVideoFrameInfo.setWidth | ( | int | width | ) |