TRTCUser class
The Users Whose Streams to Publish
You can use this parameter together with the publishing destination parameter TRTCPublishTarget and On-Cloud MixTranscoding parameter TRTCStreamMixingConfig to transcode the streams you specify and publish the mixed stream to the destination you specify.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- intRoomId ↔ int
-
- Description: Numeric room ID. The room ID must be of the same type as that in TRTCParams.
- Value range: 1-4294967294
- Note: You cannot use both
intRoomId
andstrRoomId
. If you specifystrRoomId
, you need to setintRoomId
to0
. If you set both, onlyintRoomId
will be used.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strRoomId ↔ String
-
- Description: String-type room ID. The room ID must be of the same type as that in TRTCParams.
- Note: You cannot use both
intRoomId
andstrRoomId
. If you specifyroomId
, you need to leavestrRoomId
empty. If you set both, onlyintRoomId
will be used.- Value: 64 bytes or shorter; supports the following character set (89 characters):
- Uppercase and lowercase letters (a-z and A-Z)
- Numbers (0-9)
- Space, "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", and ",".
getter/setter pair - userId ↔ String
-
- Description: UTF-8-encoded user ID (required).
- Value: For example, if the ID of a user in your account system is "mike", set it to
mike
.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited