TRTCParams class Null safety
进房参数
作为 TRTC SDK 的进房参数,只有该参数填写正确,才能顺利进入 roomId 所指定的音视频房间
Constructors
Properties
- businessInfo ↔ String
-
业务数据
非必填
某些非常用的特殊需求才需要用到此字段。 [...]read / write - hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- privateMapKey ↔ String
-
【字段含义】房间签名
非必填
,当您希望某个房间只能让特定的 userId 进入时,需要使用 privateMapKey 进行权限保护。 [...]read / write - role ↔ int
-
【字段含义】直播场景下的角色,SDK 用这个参数确定用户是主播还是观众
直播场景下必填,通话场景下不填写
。 [...]read / write - roomId ↔ int
-
【字段含义】房间号码
必填
,在同一个房间里的用户(userId)可以彼此看到对方并进行视频通话 [...]read / write - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sdkAppId ↔ int
-
【字段含义】应用标识
必填
,腾讯视频云基于 sdkAppId 进行计费统计。 [...]read / write - streamId ↔ String
-
【字段含义】绑定腾讯云直播 CDN 流 ID
非必填
,设置之后,您就可以在腾讯云直播 CDN 上通过标准直播方案(FLV或HLS)播放该用户的音视频流。 [...]read / write - strRoomId ↔ String
-
字符串房间号码,在同一个房间内的用户(userId)可以看到彼此并进行视频通话。 [...]
read / write
- userDefineRecordId ↔ String
-
[字段含义】云端录制开关,用于指定是否要在云端将该用户的音视频流录制成指定格式的文件。 [...]
read / write
- userId ↔ String
-
【字段含义】用户标识
必填
,当前用户的 userId,相当于用户名。 [...]read / write - userSig ↔ String
-
【字段含义】用户签名
必填
,当前 userId 对应的验证签名,相当于使用云服务的登录密码。 [...]read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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