AgoraEchoTestConfiguration Class Reference

Inherits from NSObject
Declared in AgoraObjects.h

Overview

The configuration of the audio and video call loop test.

  view

The view used to render the local user’s video. This property is only applicable to scenarios testing video devices, that is, when enableVideo is YES.

@property (strong, nonatomic) VIEW_CLASS *view

Discussion

Note: For iOS, the data type of this property is UIView; for macOS, the data type of this property is NSView.

Declared In

AgoraObjects.h

  enableAudio

Whether to enable the audio device for the call loop test:

@property (assign, nonatomic) BOOL enableAudio

Discussion

  • YES: (Default) Enables the audio device. To test the audio device, set this property as YES.
  • NO: Disables the audio device.

Declared In

AgoraObjects.h

  enableVideo

Whether to enable the video device for the call loop test:

@property (assign, nonatomic) BOOL enableVideo

Discussion

  • YES: (Default) Enables the video device. To test the video device, set this property as YES.
  • NO: Disables the video device.

Declared In

AgoraObjects.h

  token

The token used to secure the audio and video call loop test. If you do not enable App Certificate in Agora Console, you do not need to pass a value in this parameter; if you have enabled App Certificate in Agora Console, you must pass a token in this property, the uid used when you generate the token must be 0xFFFFFFFF, and the channel name used must be the channel name that identifies each audio and video call loop tested. For server-side token generation, see Authenticate Your Users with Tokens.

@property (copy, nonatomic) NSString *token

Declared In

AgoraObjects.h

  channelId

The channel name that identifies each audio and video call loop. To ensure proper loop test functionality, the channel name passed in to identify each loop test cannot be the same when users of the same project (App ID) perform audio and video call loop tests on different devices.

@property (copy, nonatomic) NSString *channelId

Declared In

AgoraObjects.h