ByteRTCEchoTestConfig class

Inheritance
  • Object
  • NativeClass
  • ByteRTCEchoTestConfig

Constructors

ByteRTCEchoTestConfig([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
audioReportInterval FutureOr<NSInteger?>
@brief Volume prompt interval in ms, the default value is 100.
- <= 0: Turn off prompt - (0,100] Invalid interval value, and will be automatically reset to 100ms. - > 100: the actual value of interval
getter/setter pair
enableAudio FutureOr<BOOL?>
@brief Whether to test audio. The device to be tested is the default audio device.
- true: Yes - If you use internal capture, the device microphone will automatically turn on and onLocalAudioPropertiesReport will be triggered when the value of audioReportInterval is set to greater than 0, from which you can judge the working status of the microphone. - If you choose custom capture, you also need to call pushExternalAudioFrame:{@link #ByteRTCEngine#pushExternalAudioFrame} to push the captured audio to the SDK. - false: No
getter/setter pair
enableVideo FutureOr<BOOL?>
@brief Whether to test video. If you are using a desktop PC, the device to be tested is by default the first video device in the list.
- true: Yes - If you use internal capture, the device camera will automatically turn on. - If you choose custom capture, you also need to call pushExternalVideoFrame:{@link #ByteRTCEngine#pushExternalVideoFrame} to push the captured video to the SDK. - false: No The video is published with fixed parameters: resolution 640px × 360px, frame rate 15fps.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
roomId FutureOr<NSString?>
@brief ID of the room that the tested user will join.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token FutureOr<NSString?>
@brief Token used for authenticating users when they enter the room.
getter/setter pair
userId FutureOr<NSString?>
@brief User ID for testing
getter/setter pair
view FutureOr
@brief View for rendering received video
getter/setter pair

Methods

destroy() → void
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Properties

codegen_$namespace → dynamic
no setter