|
MPU MPU MPU 程序执行下面方法直接程序死掉,会是什么问题?
public void login(String ServerParam, String encodeParam) {
JNIMessage message = new JNIMessage();
message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_ID.getName(),
"login");
message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_RESULT.getName(), encodeParam);
message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_FUNCTION.getName(), ServerParam);
BVPU.PostMessageToNative(message);
}
传入参数为
{"bGPSEnable":1,"iBootDuration":0,"iCmdProtoType":0,"iDeviceID":539045952,"iLatitude":225743980,"iLongitude":1139264210,"iMediaDir":0,"iOnlineThrough":4,"iPlatform":0,"iSerialPortCount":1,"iServerPort":9702,"iStreamPathWay":0,"iVersionCode":0,"stVideoEncode":{"iBitrate":640000,"iColorFormat":0,"iEncoderType":1,"iFramerate":30,"iHeight":480,"iWidth":640,"iYUVConvert":4},"szChannelName":"video","szDeviceName":"P01","szDeviceType":"PU_","szManufacturer":"smartvideo","szServerAddr":"192.168.102.104"}
{"bAECEnable":false,"bNativePlayerEnable":true,"iAECDelay":150,"iAECRoutingMode":2,"iAECSuppressionLevel":1,"iBitrate":32000,"iChannelNum":1,"iEncoder":0,"iSamplePrecision":16,"iSampleRate":8000}
|
|