尝试通过PJSUA2 Android从主机进行视频通话时,INVITE会话已终止错误

时间:2019-07-15 12:08:55

标签: android 64-bit pjsua2 openh264

在进行PJSUA2 openh264进行64位视频通话时引发错误

  

“邀请会话已终止(PJSIP_ESESSIONTERMINATED)”

我已经使用64位Linux服务器来支持Openh264 64位支持

07-15 17:34:36.023 26961-26961/com.highMessage W/System.err: java.lang.Exception: Title:       pjsua_call_get_info(id, &pj_ci)
    Code:        171140
    Description: INVITE session already terminated (PJSIP_ESESSIONTERMINATED)
07-15 17:34:36.024 26961-26961/com.highMessage W/System.err: Location:    ../src/pjsua2/call.cpp:484
        at org.pjsip.pjsua2.pjsua2JNI.Call_getInfo(Native Method)
        at org.pjsip.pjsua2.Call.getInfo(Call.java:64)
07-15 17:34:36.025 26961-26961/com.highMessage W/System.err:     at org.pjsip.pjsua2.app.CallActivity.onCreate(CallActivity.java:1218)
        at android.app.Activity.performCreate(Activity.java:6975)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1213)
07-15 17:34:36.026 26961-26961/com.highMessage W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2844)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2969)
        at android.app.ActivityThread.-wrap11(Unknown Source:0)
07-15 17:34:36.027 26961-26961/com.highMessage W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1658)
07-15 17:34:36.028 26961-26961/com.highMessage W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:108)
07-15 17:34:36.029 26961-26961/com.highMessage W/System.err:     at android.os.Looper.loop(Looper.java:206)
        at android.app.ActivityThread.main(ActivityThread.java:6733)
        at java.lang.reflect.Method.invoke(Native Method)
07-15 17:34:36.030 26961-26961/com.highMessage W/System.err:     at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:845)

对于NDK和SDK,我都使用64位linux服务器和TARGET_API级别,而android21。
我曾经用下面给出的Openh264 64位支持命令。

make -B OS=android ARCH=arm64 ENABLEPIC=Yes NDKROOT=[NDK PATH]/android-ndk-r14b TARGET=android-21 NDKLEVEL=21

希望这些将有助于给出解决方案。谢谢。

0 个答案:

没有答案