alongubkin / alongubkin/phonertc

App Crashes on second connection disconnected

オープン
#155 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Objective-C
スター
864
フォーク
298
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。