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

ANDROID SDK CRASHING 4.0

ANIL_K_3
Beginner
954 Views

HI,

android sample sdk 4.0 crashing when i click on unpublish after successful call completion

android OS VERSION 7.1.1

0 Kudos
7 Replies
tony1
Beginner
954 Views

You need to set up your current ID on another client. If you do not set it up, the application will crash.

 

 

0 Kudos
YanbinZ_Intel
Employee
954 Views

Could you please provide more detail information ?

1. what kind of sample ? Conference or P2P sample ?

2. Could you please provide detail steps and detail crash log information ? And test phone information 

 

Thanks

Yanbin

0 Kudos
ANIL_K_3
Beginner
954 Views

HI Yanbim Z.

1. what kind of sample ? Conference or P2P sample ?

A) Conference Sample 

2. Could you please provide detail steps and detail crash log information ? And test phone information 

A) Installed and configured android conference sample apk on all available andorid mobile phone devices  like lenovo etc conatains OS 5,6,7  . 

When we hit connect and start publishing video joined into room successfully . Then if we click on "unpublish" button to stop publishing and disconnect the call "APP crashing immediately" with notification on mobile screen " Unfortunately ICS_CONF has stopped". With following error getting in android studio console 

com.intel.webrtc.conference.sample E/rtc: #

                                                                       # Fatal error in ../../third_party/webrtc/sdk/android/src/jni/pc/mediastream_jni.cc, line 67
                                                                       # last system error: 11
                                                                       # Check failed: 0 == (reinterpret_cast<MediaStreamInterface*>(j_p))->Release() (0 vs. 2)
                                                                       # Unexpected refcount.
                                                                       #
                                                                                                                                     
                                                                      --------- beginning of crash
05-03 11:23:21.291 8364-8399/com.intel.webrtc.conference.sample A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 8399 (pool-1-thread-1)

 

 

0 Kudos
Sharma__Mukesh
Beginner
954 Views
comment this line in unpublish onclick listener

localStream.dispose();

 

the above line is causing the issue and making the application to crash, this not the complete solution but this will stop crashing your android application

0 Kudos
YanbinZ_Intel
Employee
954 Views

We can not reproduce this issue use ios 7.1.1.   And localStream.dispose() is used to Close and dispose all the sources associated with the LocalStreamBe sure that there is no active Publication using this LocalStream before calling this method.  

 

0 Kudos
Sharma__Mukesh
Beginner
954 Views

Yanbin Z. (Intel) wrote:

We can not reproduce this issue use ios 7.1.1.   And localStream.dispose() is used to Close and dispose all the sources associated with the LocalStream. Be sure that there is no active Publication using this LocalStream before calling this method.  

 

What do you mean by ios 7.1.1

0 Kudos
YanbinZ_Intel
Employee
954 Views

Sharma, Mukesh wrote:

Quote:

Yanbin Z. (Intel) wrote:

 

We can not reproduce this issue use ios 7.1.1.   And localStream.dispose() is used to Close and dispose all the sources associated with the LocalStream. Be sure that there is no active Publication using this LocalStream before calling this method.  

 

 

 

What do you mean by ios 7.1.1

Type error, Android os 7.1.1

0 Kudos
Reply