DJI Mobile SDK Documentation

      class CameraStreamSettingsMsg

      class CameraStreamSettingsMsg implements DJIValue, JNIProguardKeepTag, ByteStream
      Package:dji.sdk.keyvalue.value.camera
      Description:

      Storage settings for taking pictures or recording videos. You can choose the lens you need to take pictures, record and store.

      Class Members:

      Members

      method getRequestCurrentScreen
      Boolean getRequestCurrentScreen()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      true means to store the media files generated by the current live video stream when taking pictures or recording videos. You can get the video source type of the current live video stream through KeyCameraVideoStreamSource.
      Notice:
      If it is in the camera mode, the stored photo is the photo of the video source of the current lens, but in the split-screen mode PIP of the infrared lens, it is a screenshot of the image transmission.
      If it is in recording mode, the stored video is the image transmitted by the current lens, not a high-definition video.

      Return:
      Booleantrue means to store the media files generated by the current live video stream when taking pictures or recording videos.
      method setRequestCurrentScreen
      void setRequestCurrentScreen(Boolean requestCurrentScreen)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set whether to store the media file generated by the current live video stream when taking a picture or recording a video. You can get the video source type of the current live video stream through KeyCameraVideoStreamSource. Notice:
      If it is in the camera mode, the stored photo is the photo of the video source of the current lens, but in the split-screen mode PIP of the infrared lens, it is a screenshot of the image transmission.
      If it is in recording mode, the stored video is the image transmitted by the current lens, not a high-definition video.

      Input Parameters:
      Boolean requestCurrentScreentrue means to store the media file generated by the current live video stream when taking a picture or recording a video.
      method getCameraVideoStreamSources
      List<LiveViewSourceCameraType> getCameraVideoStreamSources()
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To get the list of shooting video source types that need to store media files.

      Return:
      List<LiveViewSourceCameraType>Return the list of shooting video source types that need to store media files.
      method setCameraVideoStreamSources
      void setCameraVideoStreamSources(List<LiveViewSourceCameraType> cameraVideoStreamSources)
      Package:dji.sdk.keyvalue.value.camera
      Description:

      To set lens video source type that needs to store media files. It can be set to store multiple lens video sources.

      Input Parameters:
      List<LiveViewSourceCameraType> cameraVideoStreamSourcesLens video source type that needs to store media files.