A Unity3D sample app to show Login /Logout, Log in to/out of channel, Get Channel Member Count, Send/Receive Channel Message, Send Peer Message, Query Member, and token Authentication
`AGORA_API int setChannelAttributes(void rtmInstance, const char channelId, long long attributes[], const int numberOfAttributes, bool enableNotificationToChannelMembers, long long requestId)
{
if (numberOfAttributes <= 0)
return -1;
`AGORA_API int setChannelAttributes(void rtmInstance, const char channelId, long long attributes[], const int numberOfAttributes, bool enableNotificationToChannelMembers, long long requestId) { if (numberOfAttributes <= 0) return -1;
}` 这里设置频道属性,test.resize(numberOfAttributes) 会新增一个null对象,执行RTM_SERVICE_INSTANCE->setChannelAttributes,发生异常