RTCRoomConfig class

Inheritance
  • Object
  • NativeClass
  • RTCRoomConfig

Constructors

RTCRoomConfig([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAutoSubscribeAudio FutureOr<boolean?>
@brief Whether to automatically subscribe to the audio stream. The default is automatic subscription.
This setting affects both the main stream and the screen-sharing stream.
getter/setter pair
isAutoSubscribeVideo FutureOr<boolean?>
@brief Whether to automatically subscribe to the main video stream. The default is automatic subscription.
This setting affects both the main stream and the screen-sharing stream.
getter/setter pair
isPublishAudio FutureOr<boolean?>
@brief Whether to publish media streams automatically. The default is automatic publishing. + Changing the user role to audience via setUserVisibility will void this setting. + You can publish streams in only one of the rooms you have participated. If you have joined multiple rooms with the automatically publishing setting, the stream will be added into the first room you have joined only.
getter/setter pair
isPublishVideo FutureOr<boolean?>
@brief Whether to publish media streams automatically. The default is automatic publishing. + Changing the user role to audience via setUserVisibility will void this setting. + You can publish streams in only one of the rooms you have participated. If you have joined multiple rooms with the automatically publishing setting, the stream will be added into the first room you have joined only.
getter/setter pair
profile FutureOr<ChannelProfile?>
@brief Room profile. See ChannelProfile{@link #ChannelProfile}. The default is CHANNEL_PROFILE_COMMUNICATION. The setting cannot be changed after joining the room.
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamId FutureOr<String?>
@brief Stream ID. The setting cannot be changed after joining the room.
getter/setter pair

Methods

destroy() → void
inherited
getProfile() FutureOr<int>
@hidden constructor/destructor
getStreamId() FutureOr<String>
@hidden constructor/destructor
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