Mohammad Adil
Member
Hi there,
I am using android aar in a seperate project and have compiled the project successfully. I am successfully able to connect to the server. I am successfully joining in the room. But when i press publish the app crashing. In the log cat i am getting the following error.
Process: smartgen.digital.flashphonertest, PID: 25659
java.lang.BootstrapMethodError: Exception from call site #6 bootstrap method
at org.webrtc.EglRenderer.init(EglRenderer.java:217)
at org.webrtc.EglRenderer.init(EglRenderer.java:244)
at org.webrtc.SurfaceEglRenderer.init(SurfaceEglRenderer.java:61)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:87)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:71)
at com.flashphoner.fpwcsapi.util.Utils.initRenderer(Utils.java:133)
at com.flashphoner.fpwcsapi.session.Stream.publish(Stream.java:92)
at com.flashphoner.fpwcsapi.room.Room.publishInternal(Room.java:117)
at com.flashphoner.fpwcsapi.room.Room.publish(Room.java:93)
at smartgen.digital.flashphonertest.MainActivity.onRequestPermissionsResult(MainActivity.java:631)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7941)
at android.app.Activity.dispatchActivityResult(Activity.java:7763)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4598)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4647)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: java.lang.ClassCastException: Bootstrap method returned null
at org.webrtc.EglRenderer.init(EglRenderer.java:217)
at org.webrtc.EglRenderer.init(EglRenderer.java:244)
at org.webrtc.SurfaceEglRenderer.init(SurfaceEglRenderer.java:61)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:87)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:71)
at com.flashphoner.fpwcsapi.util.Utils.initRenderer(Utils.java:133)
at com.flashphoner.fpwcsapi.session.Stream.publish(Stream.java:92)
at com.flashphoner.fpwcsapi.room.Room.publishInternal(Room.java:117)
at com.flashphoner.fpwcsapi.room.Room.publish(Room.java:93)
at smartgen.digital.flashphonertest.MainActivity.onRequestPermissionsResult(MainActivity.java:631)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7941)
at android.app.Activity.dispatchActivityResult(Activity.java:7763)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4598)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4647)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
Kindly assist.
Thanks
Mohammad Adil
I am using android aar in a seperate project and have compiled the project successfully. I am successfully able to connect to the server. I am successfully joining in the room. But when i press publish the app crashing. In the log cat i am getting the following error.
Process: smartgen.digital.flashphonertest, PID: 25659
java.lang.BootstrapMethodError: Exception from call site #6 bootstrap method
at org.webrtc.EglRenderer.init(EglRenderer.java:217)
at org.webrtc.EglRenderer.init(EglRenderer.java:244)
at org.webrtc.SurfaceEglRenderer.init(SurfaceEglRenderer.java:61)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:87)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:71)
at com.flashphoner.fpwcsapi.util.Utils.initRenderer(Utils.java:133)
at com.flashphoner.fpwcsapi.session.Stream.publish(Stream.java:92)
at com.flashphoner.fpwcsapi.room.Room.publishInternal(Room.java:117)
at com.flashphoner.fpwcsapi.room.Room.publish(Room.java:93)
at smartgen.digital.flashphonertest.MainActivity.onRequestPermissionsResult(MainActivity.java:631)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7941)
at android.app.Activity.dispatchActivityResult(Activity.java:7763)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4598)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4647)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
Caused by: java.lang.ClassCastException: Bootstrap method returned null
at org.webrtc.EglRenderer.init(EglRenderer.java:217)
at org.webrtc.EglRenderer.init(EglRenderer.java:244)
at org.webrtc.SurfaceEglRenderer.init(SurfaceEglRenderer.java:61)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:87)
at org.webrtc.SurfaceViewRenderer.init(SurfaceViewRenderer.java:71)
at com.flashphoner.fpwcsapi.util.Utils.initRenderer(Utils.java:133)
at com.flashphoner.fpwcsapi.session.Stream.publish(Stream.java:92)
at com.flashphoner.fpwcsapi.room.Room.publishInternal(Room.java:117)
at com.flashphoner.fpwcsapi.room.Room.publish(Room.java:93)
at smartgen.digital.flashphonertest.MainActivity.onRequestPermissionsResult(MainActivity.java:631)
at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:7941)
at android.app.Activity.dispatchActivityResult(Activity.java:7763)
at android.app.ActivityThread.deliverResults(ActivityThread.java:4598)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:4647)
at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:49)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1948)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7045)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
Kindly assist.
Thanks
Mohammad Adil