进入房间,若房间不存在,系统将自动创建一个新房间。
| 参数名称 | 参数描述 | 参数类型 |
|---|---|---|
| appid | Appid | int |
| userId | 用户ID | String |
| userSig | 用户签名 | String |
| roomId | 房间ID | int |
| scene | 应用场景 | SceneEnum |
| role | 角色 | RoleEnum |
| privateMapKey | 房间签名 | String |
使用:
TencentRtcPlugin.enterRoom(appid: APPID,userId: "123456",userSig: 用户签名,roomId: 123456,scene: SceneEnum.VideoCall,);
