alongubkin / alongubkin/phonertc

App Crashes on second connection disconnected

Aperta
#155 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Objective-C
Stelle
864
Fork
298
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hey I am using your plugin for Android. Connection establishment works fine for n users (In my case I have tried upto 4.) Also, the first disconnects fine but as soon as I disconnect the second call the app crashes with refcount error in WebRTC.

I have tried changing the sequence of dispose of peerConnection, MediaStream, peerConnectionFactory as given in the following link but the issue still persists.

https://code.google.com/p/webrtc/issues/detail?id=2287

Here is the output on logcat.
E/rtc (19124): #
E/rtc (19124): # Fatal error in ../../talk/app/webrtc/java/jni/peerconnection_jni.cc, line 2756
E/rtc (19124): # Check failed: 0 == (reinterpret_cast(j_p))->Release() (0 vs. 2)
E/rtc (19124): # Unexpected refcount.

Has anyone else experienced this issue? Any help in how to solve this or implementing a workaround is greatly appreciated.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.