DJI Mobile SDK Documentation

      class DJICameraStreamSettings

      @interface DJICameraStreamSettings : NSObject
      Header:DJICameraSettingsDef.h
      Inherits From:NSObject
      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:withCompletion) will be captured or recorded when taking photo or recording video. streams 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
      property
      property needCurrentLiveViewStream
      @property (nonatomic, readonly) BOOL needCurrentLiveViewStream
      Header:DJICameraSettingsDef.h
      Description:

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

      Camera Video Streams
      property
      property streams
      @property (nonatomic, readonly) NSArray <NSNumber *> *streams
      Header:DJICameraSettingsDef.h
      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 DJICameraVideoStreamSource.

      method initWithNeedCurrentLiveView:streams
      - (instancetype)initWithNeedCurrentLiveView:(BOOL)isCurrentLiveviewNeeded
      streams:(NSArray <NSNumber *> *)streams
      Header:DJICameraSettingsDef.h
      Description:

      Initialize DJICameraStreamSettings with current live view and streams.

      Input Parameters:
      BOOL isCurrentLiveviewNeededYES if needed to save current liveview stream.
      NSArray <NSNumber *> * streamsA List of DJICameraVideoStreamSource.