问题描述
项目需要调用第三方的.dll库c结构SEP2P_GetAVParameterSupported(constCHAR*pDID,AV_PARAMETER*pOut_AV_Parameter).SEP2P_API_APIINT32SEP2P_GetAVParameterSupported(constCHAR*pDID,AV_PARAMETER*pOut_AV_Parameter);typedefstructtag_stAVParameter{UINT32nVideoCodecID;//refertoSEP2P_ENUM_AV_CODECIDUINT32nAudioCodecID;//refertoSEP2P_ENUM_AV_CODECIDCHARnVideoParameter[7];//Video:refertoSEP2P_ENUM_VIDEO_RESOCHARnAudioParameter;//Audio:(samplerate<<2)|(databits<<1)|(channel)CHARreserve[8];}AV_PARAMETER;使用android调用SEP2P_GetAVParameterSupported(strCamDid,stAVParameter);正常使用javajna调用SEP2P_GetAVParameterSupported(strCamDid,stAVParameter);时没有throwexception,但是程序处于挂机状态
时间: 2024-09-08 11:27:12