|
视频通话的回调函数里 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模式下却通话连不上,请问是什么原因?
|
|