DJI Mobile SDK Documentation

      class CameraStreamSettings

      class CameraStreamSettings
      Package:dji.common.camera
      Description:

      The class is used to save camera video stream settings during taking photo or recording video.needCurrentLiveViewStream is used to determine whether if current live view stream(set by setCameraVideoStreamSource) will be captured or recorded when taking photo or recording video. getCameraVideoStreamSources is used to determine which camera stream source will be captured or recorded. Only supported by Zenmuse H20 Series Camera.

      Class Members:
      Need Current Live View Stream
      method
      method needCurrentLiveViewStream
      boolean needCurrentLiveViewStream()
      Package:dji.common.camera
      Description:

      Determines whether if current live view stream need to been captured or recorded when taking photo or recording video.

      Return:
      booleantrue if needed to save current liveview stream.
      Camera Video Streams
      method
      method getCameraVideoStreamSources
      List<CameraVideoStreamSource> getCameraVideoStreamSources()
      Package:dji.common.camera
      Description:

      Determines which camera video stream source will been captured or recorded when taking photo or recording video. The camera video stream source came from CameraVideoStreamSource.

      Return:
      List<CameraVideoStreamSource>A List of CameraVideoStreamSource.