cocos Creator中设置频道身份失败(setClientRole)

image
image
设置setClientRole会报undefined,再github中的官方例子中使用也是同样的问题,是有哪里不对嘛

可以参考这个代码的写法哈:https://github.com/AgoraIO/Voice-Call-for-Mobile-Gaming/blob/master/Basic-Voice-Call-for-Gaming/Hello-CocosCreator-Voice-Agora/assets/agora/js-agora.js