10 #ifndef DJICAMERASTREAM_H 11 #define DJICAMERASTREAM_H 14 #include "dji_camera_image.hpp" 15 class DJICameraStreamLink;
16 class DJICameraStreamDecoder;
21 DJICameraStream(CameraType camType = FPV_CAMERA);
24 bool newImageIsReady();
33 bool startCameraStream(CameraImageCallback cb = NULL,
void * cbParam = NULL);
35 void stopCameraStream();
37 bool startCameraH264(H264Callback cb = NULL,
void * cbParam = NULL);
39 void stopCameraH264();
42 DJICameraStreamLink *rawDataStream;
43 DJICameraStreamDecoder *decoder;
45 CameraType cameraType;
46 std::string cameraNameStr;
50 #endif // DJICAMERASTREAM_H Data structure for the image frames from the FPV camera or main camera.
Definition: dji_camera_image.hpp:17