Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

ANDROID SDK CRASHING 4.0

HI,

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

android OS VERSION 7.1.1

Tags (2)
0 Kudos
7 Replies
Highlighted
Beginner
1 View

You need to set up your

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

 

 

0 Kudos
Highlighted
Employee
1 View

Could you please provide more

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
Highlighted
Beginner
1 View

HI Yanbim Z.

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
Highlighted
Beginner
1 View

comment this line in

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
Highlighted
Employee
1 View

We can not reproduce this

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
Highlighted
Beginner
1 View

Quote:Yanbin Z. (Intel) wrote

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
Highlighted
Employee
1 View

Quote:Sharma, Mukesh wrote:

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