void LoadAgoraKit()
    {
        mRtcEngine = IRtcEngine.GetEngine(ApplicationModal.AppId);
        mRtcEngine.SetLogFilter(LOG_FILTER.DEBUG);
        string rtcLogFile = LocalLogFilePath();

        mRtcEngine.SetLogFile(rtcLogFile);
        Debug.Log(string.Format("SetLogFile {0}", rtcLogFile));
        versionText.GetComponent <Text> ().text = "Version : " + IRtcEngine.GetSdkVersion();
        Debug.Log(" SDK  version  =  " + IRtcEngine.GetSdkVersion());
        if (ApplicationModal.AudioGameProfile == 0)
        {
            mRtcEngine.SetChannelProfile(CHANNEL_PROFILE.CHANNEL_PROFILE_COMMUNICATION);
        }
        else
        {
            mRtcEngine.SetChannelProfile(CHANNEL_PROFILE.CHANNEL_PROFILE_LIVE_BROADCASTING);
        }
        mRtcEngine.EnableSoundPositionIndication(true);
        mRtcEngine.EnableAudioVolumeIndication(200, 3, true);
        LoadEngineCallbacks();
    }