EchoTestConfiguration class

Configuration for audio and video echo test.

Annotations
  • @JsonSerializable.new(explicitToJson: true, includeIfNull: false)

Properties

channelId → String?
Channel name identifying each audio and video echo test. To ensure proper functioning of the echo test, the channel name used by each terminal user under the same project (App ID) on different devices must be unique.
final
enableAudio → bool?
Whether to enable the audio device: true : (Default) Enables the audio device. Set to true to test the audio device. false : Disables the audio device.
final
enableVideo → bool?
Whether to enable the video device. Video device detection is not supported yet. Set this parameter to false.
final
hashCode → int
The hash code for this object.
no setterinherited
intervalInSeconds → int?
Sets the interval or delay for returning the audio and video echo test results. Value range is 2,10 in seconds. Default is 2 seconds. For audio echo test, the result is returned at the interval you set. For video echo test, the video is displayed briefly, then the delay gradually increases until it reaches the set value.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
token → String?
Token used to ensure the security of the audio and video echo test. If you have not enabled the App Certificate in the console, you do not need to set this parameter. If you have enabled the App Certificate, you must provide a Token, and the uid used to generate the Token must be 0xFFFFFFFF, and the channel name used must uniquely identify each echo test. For how to generate a Token on the server, refer to Use Token for Authentication.
final
view → int?
The view used to render the local user's video. This parameter only applies to scenarios testing video devices. Make sure enableVideo is set to true.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited