|
Agora Java API Reference for Android
|
Information about externally encoded video frames. More...
Public Member Functions | |
| EncodedVideoFrameInfo (int codecType, int width, int height, int framesPerSecond, int frameType, int rotation, int trackId, long captureTimeMs, long decodeTimeMs, int streamType) | |
| int | getCodecType () |
| int | getWidth () |
| int | getHeight () |
| int | getFramesPerSecond () |
| int | getFrameType () |
| int | getRotation () |
| int | getTrackId () |
| long | getCaptureTimeMs () |
| long | getDecodeTimeMs () |
| int | getStreamType () |
| String | toString () |
Public Attributes | |
| int | codecType |
| int | width |
| int | height |
| int | framesPerSecond |
| int | frameType |
| int | rotation |
| int | trackId |
| long | captureTimeMs |
| long | decodeTimeMs |
| int | streamType |
Information about externally encoded video frames.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.codecType |
The codec type of the video:
| int io.agora.rtc2.video.EncodedVideoFrameInfo.width |
Width (pixel) of the video frame.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.height |
Height (pixel) of the video frame.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.framesPerSecond |
The number of video frames per second. When this parameter is not 0, you can use it to calculate the Unix timestamp of externally encoded video frames.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.frameType |
The video frame type.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.rotation |
Rotation information of the video frame, as the following:
| int io.agora.rtc2.video.EncodedVideoFrameInfo.trackId |
Reserved for future use.
| long io.agora.rtc2.video.EncodedVideoFrameInfo.captureTimeMs |
The Unix timestamp (ms) for capturing the external encoded video frames.
| long io.agora.rtc2.video.EncodedVideoFrameInfo.decodeTimeMs |
This is a output parameter which means timestamp for decoding the video frame.
| int io.agora.rtc2.video.EncodedVideoFrameInfo.streamType |
The type of video streams.
1.8.18