isCameraCenterStageSupported

Check if the camera supports portrait center stage.

virtual bool isCameraCenterStageSupported() = 0;
Attention: This method is for iOS and macOS only.

Before calling enableCameraCenterStage to enable portrait center stage, it is recommended to call this method to check if the current device supports the feature.

Call timing

This method must be called after the camera is successfully enabled, that is, after the SDK triggers the onLocalVideoStateChanged callback and returns the local video state as LOCAL_VIDEO_STREAM_STATE_CAPTURING (1).

Restrictions

None.

Returns

  • true: The current camera supports the portrait center stage.
  • false: The current camera supports the portrait center stage.