alongubkin / alongubkin/phonertc

App Crashes on second connection disconnected

Offen
#155 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Objective-C
Sterne
864
Forks
298
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.