AgoraMirrorModeType 常量

Declared in AgoraStreamingKit.h

AgoraMirrorModeType

视频镜像模式配置。

Definition

typedef NS_ENUM(NSUInteger, AgoraMirrorModeType ) {
   MirrorModeAuto = 0,
   MirrorModeEnabled = 1,
   MirrorModeDisabled = 2,
};

Constants

MirrorModeAuto

0:(默认)Agora Streaming Kit 自动决定镜像模式:

  • 如果你在调用 setMirrorMode 时设置镜像模式为 MirrorModeAuto
    • 如果使用前置摄像头,启用镜像模式。
    • 如果使用后置摄像头,关闭镜像模式。

  • 如果你在调用 sharedStreamingKitWithContext 时设置镜像模式为 MirrorModeAuto,Agora Streaming Kit 会关闭镜像模式。
  • Declared In AgoraStreamingKit.h.

    MirrorModeEnabled

    1: 启用镜像模式。

    Declared In AgoraStreamingKit.h.

    MirrorModeDisabled

    2: 关闭镜像模式。

    Declared In AgoraStreamingKit.h.

    Declared In

    AgoraStreamingKit.h