Agora Objective-C API Reference for iOS/macOS

AgoraVideoMirrorMode Constants Reference

Declared in AgoraEnumerates.h

AgoraVideoMirrorMode

Video mirror mode.

Definition

typedef NS_ENUM(NSUInteger, AgoraVideoMirrorMode ) {
   AgoraVideoMirrorModeAuto = 0,
   AgoraVideoMirrorModeEnabled = 1,
   AgoraVideoMirrorModeDisabled = 2,
};

Constants

AgoraVideoMirrorModeAuto

0:

  • For iOS: (Default) The mirror mode is determined by the SDK. If you use the front camera, the SDK enables the mirror mode; if you use the rear camera, the SDK disables the mirror mode.
  • For macOS: Default) The SDK enables the mirror mode.

Declared In AgoraEnumerates.h.

AgoraVideoMirrorModeEnabled

1: Enables mirror mode.

Declared In AgoraEnumerates.h.

AgoraVideoMirrorModeDisabled

2: Disables mirror mode.

Declared In AgoraEnumerates.h.

Declared In

AgoraEnumerates.h

X
Is this page helpful?