Esempio n. 1
0
        // 转发语音数据
        public bool SendVoiceData(string fileName)
        {
            bool ret = false;

            if (!StopTalk())
            {
                return(false);
            }
            if (!SSNetSDK.XNS_DEV_StartTalk(_dev_handle, 1, true))
            {
                return(false);
            }
            //SSNetSDK.XNS_DEV_SendAudioData(_dev_handle,)
            return(true);
        }
Esempio n. 2
0
 // 语言控制
 public bool StartTalk()
 {
     return(SSNetSDK.XNS_DEV_StartTalk(_dev_handle, 1, false));
 }