Video SDK v3.7.1 API Reference for Unity
Public Attributes | List of all members
agora_gaming_rtc.EchoTestConfiguration Struct Reference

Public Attributes

IntPtr view
 
bool enableAudio
 
bool enableVideo
 
string token
 
string channelId
 

Detailed Description

The EchoTestConfiguration struct.

Since
v3.6.1.1

Member Data Documentation

◆ view

IntPtr agora_gaming_rtc.EchoTestConfiguration.view

The view used to render the local user's video. This parameter is only applicable to scenarios testing video devices, that is, when enableVideo is true.

◆ enableAudio

bool agora_gaming_rtc.EchoTestConfiguration.enableAudio

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

  • true: (Default) Enables the audio device. To test the audio device, set this parameter as true.
  • false: Disables the audio device.

◆ enableVideo

bool agora_gaming_rtc.EchoTestConfiguration.enableVideo

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

  • true: (Default) Enables the video device. To test the video device, set this parameter as true.
  • false: Disables the video device.

◆ token

string agora_gaming_rtc.EchoTestConfiguration.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 parameter, 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.

◆ channelId

string agora_gaming_rtc.EchoTestConfiguration.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.


The documentation for this struct was generated from the following file: