GetCallIdEx
- C#
更新时间不可用
使用连接 ID 获取通话 ID。
public abstract int GetCallIdEx(ref string callId, RtcConnection connection);客户端在每次加入频道后会生成一个对应的 callId,标识该客户端的此次通话。你可以调用该方法获取 callId 参数,然后在调用 Rate、Complain 等方法时填入。
调用时机
该方法需要在加入频道后调用。
调用限制
无。
参数
| 参数名 | 描述 |
|---|---|
callId | |
connection | Connection 信息。详见 RtcConnection。 |
返回值
- 0: 方法调用成功。
- < 0: 方法调用失败。详见错误码了解详情和解决建议。