dji.sdk.Camera.DJICamera.CameraReceivedVideoDataCallback |
Video data update callback. H.264 (also called MPEG-4 Part 10 Advanced Video Coding or MPEG-4 AVC) is a video coding format that is currently one of the most commonly used formats for the recording, compression, and distribution of video content.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | onResult(byte[] videoBuffer, int size) The received video data callback. |
The received video data callback.
videoBuffer | H.264 video data buffer. Don't free the buffer after it has been used. The units for the video buffer are bytes. |
---|---|
size | Size of the address of the video data buffer in bytes. |