AnyChat技术支持论坛
标题:
视频通话
[打印本页]
作者:
smilehui2014
时间:
2016-4-14 15:20
标题:
视频通话
视频通话的回调函数里 int eventType = 0; eventType =(int) dwEventType;
CString eventtype;
eventtype.Format("%d",eventType);
int srcuserId;
srcuserId = (int)dwSrcUserId;
CString srcuserid;
srcuserid.Format("%d",srcuserId);
int taruserId;
taruserId = (int)dwTarUserId;
CString taruserid;
taruserid.Format("%d",taruserId);
//视频开始
if(strcmp(eventtype,"3")==0){
return 0;
}else
if(strcmp(eventtype,"4")==0){
int videooverSID,videooverTID;
videooverSID = (int)dwSrcUserId;//病人
videooverTID = (int)dwTarUserId;//医生
CString str1 = "526*001233^60^120";
CString str2 = "526*001233^60^995";
BRAS_TransBuffer(videooverTID,(LPBYTE)(LPCTSTR)str1,str1.GetLength());
BRAS_TransBuffer(videooverSID,(LPBYTE)(LPCTSTR)str2,str2.GetLength());
return 0;
}做了些处理,debug模式下通话正常,release模式下却通话连不上,请问是什么原因?
作者:
佰锐科技-邵光清
时间:
2016-4-14 15:41
您好,请将客户端日志发上来分析,谢谢!
欢迎光临 AnyChat技术支持论坛 (http://bbs.anychat.cn/)
Powered by Discuz! X3