void OnJoinFailureHandler(int id, JOIN_CHANNEL_ERR errorCode) { string msg = "channel OnJoinFailure id = " + id + " errorCode = " + errorCode; Debug.Log(msg); messageDisplay.AddTextToDisplay(msg, Message.MessageType.Error); }
private static void OnJoinFailureCallback(int id, JOIN_CHANNEL_ERR errorCode) { if (channelEventHandlerDic.ContainsKey(id) && channelEventHandlerDic[id].OnJoinFailure != null) { if (AgoraCallbackObject.GetInstance()._CallbackQueue != null) { AgoraCallbackObject.GetInstance()._CallbackQueue.EnQueue(() => { if (channelEventHandlerDic.ContainsKey(id) && channelEventHandlerDic[id].OnJoinFailure != null) { channelEventHandlerDic[id].OnJoinFailure(id, errorCode); } }); } } }
void OnJoinFailureHandler2(int id, JOIN_CHANNEL_ERR errorCode) { Debug.Log("client2 OnJoinFailure id = " + id + " error: " + errorCode); }
void OnJoinFailureHandler1(int id, JOIN_CHANNEL_ERR errorCode) { Debug.Log("client OnJoinFailure id = " + id); }