进入房间,若房间不存在,系统将自动创建一个新房间。

    参数名称 参数描述 参数类型
    appid Appid int
    userId 用户ID String
    userSig 用户签名 String
    roomId 房间ID int
    scene 应用场景 SceneEnum
    role 角色 RoleEnum
    privateMapKey 房间签名 String

    使用:

    1. TencentRtcPlugin.enterRoom(
    2. appid: APPID,
    3. userId: "123456",
    4. userSig: 用户签名,
    5. roomId: 123456,
    6. scene: SceneEnum.VideoCall,
    7. );