Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

Android app crashing

Kalikinkar_D_
Beginner
608 Views

WebRTC Android is crashing sometimes giving Fatal Signal 6, while subscribing. Could you please tell us what may be the cause. Log file is attached.

0 Kudos
8 Replies
Chunbo_H_Intel1
Employee
608 Views

Hi,

It seems to be similar as https://bugs.chromium.org/p/webrtc/issues/detail?id=4023. Is it the same case from your side?

We have the track on our side. Thanks!

0 Kudos
Kalikinkar_D_
Beginner
608 Views

Thanks Chunbo for reply. I think that is not same issue. My application is crashing when 3rd streams comes, it may be persons stream or screen stream. In the  https://bugs.chromium.org/p/webrtc/issues/detail?id=4023, problem comes from the file peerconnection_jni.cc but in my case, its androidmediadecoder_jni.cc, line 322. As I do not have source code of androidmediadecoder_jni.cc, I can not debug anyway by logging etc. 

Thanks,

Kalikinkar

0 Kudos
Chunbo_H_Intel1
Employee
608 Views

OK. Could you tell us your phone brand and model?

0 Kudos
Kalikinkar_D_
Beginner
608 Views

Model No: Moto G XT1033(Falcon) 

OS: 5.1.1

Can we use Software decoder instead of VP8 or H264. If so, How can we do that? Please help us.

It is crashing when more than two streams are there.

Thanks,

Kalikinkar

0 Kudos
Chunbo_H_Intel1
Employee
608 Views

OK. You could use ClientContext.setCodecHardwareAccelarationEnabled(VideoCodec, boolean) to switch your decoder to software VP8. We do not provide the software H264 decoder.

Thanks!

0 Kudos
Kalikinkar_D_
Beginner
608 Views

Thanks Chunbo.

We have faced new problem as: We have seen that, in android, if we try to conference by using 3G mobile network, conference is failed maximum times. We are seeing that publish is successful but stream is not received by server and subscription is successful at device but video is not being received. But, it is confusing that, using same mobile network(same SIM) conference is going smoothly in iPhone.  Another thing, using mobile hotspot from same android mobile, we can conference from a PC or iPhone. 

What is the minimum bandwidth for conference? 

Please help us. A log file is attached for your reference. 

Thanks,

Kalikinkar

0 Kudos
Kalikinkar_D_
Beginner
608 Views

While trying to subscribe in samsung galaxy s4, maximum time app is getting crashed showing the below error:

 

01-19 13:07:32.129   29463-1891/com.rank.webrtc_nomix E/AndroidRuntime FATAL EXCEPTION: GLThread 1495

    Process: com.rank.webrtc_nomix, PID: 29463

    java.lang.RuntimeException: GLES20 error: 1282

            at com.intel.webrtc.base.VideoStreamsView.abortUnless(VideoStreamsView.java:326)

            at com.intel.webrtc.base.VideoStreamsView.checkNoGLES2Error(VideoStreamsView.java:332)

            at com.intel.webrtc.base.VideoStreamsView.drawRectangle(VideoStreamsView.java:309)

            at com.intel.webrtc.base.VideoStreamsView.onDrawFrame(VideoStreamsView.java:258)

            at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1531)

            at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1248)

 

Can you please identify the cause and possible solution.

0 Kudos
Chunbo_H_Intel1
Employee
608 Views

Hi Kalikinkar,

Your information is well received. Our Android engineer is working on those issue and trying to reproduce and analyze. Stay tuned!

Thanks!

0 Kudos
Reply