文档中心
视频通话 (Legacy)
API 参考
Agora Unity API Reference for All Platforms
Agora Unity SDK API Reference
◆ RtcEngineConfig() [1/2]
◆ RtcEngineConfig() [2/2]
◆ appId
string agora_gaming_rtc.RtcEngineConfig.appId |
|
get |
◆ areaCode
AREA_CODE agora_gaming_rtc.RtcEngineConfig.areaCode |
|
get |
服务器的访问区域。该功能为高级设置,适用于有访问安全限制的场景。支持的区域详见 AREA_CODE 。 指定访问区域后,Agora SDK 会连接指定区域内的 Agora 服务器。
◆ logConfig
LogConfig agora_gaming_rtc.RtcEngineConfig.logConfig |
|
getset |
设置 Agora SDK 输出的日志文件。详见 LogConfig。
- 自从
- v3.3.1
默认情况下,SDK 会生成 agorasdk.log
、agorasdk_1.log
、agorasdk_2.log
、 agorasdk_3.log
、agorasdk_4.log
这 5 个日志文件。 每个文件的默认大小为 1024 KB。 日志文件为 UTF-8 编码。最新的日志永远写在 agorasdk.log
中。agorasdk.log
写满后, SDK 会从 1-4 中删除修改时间最早的一个文件,然后将 agorasdk.log
重命名为该文件,并建立 新的 agorasdk.log
写入最新的日志。