alongubkin / alongubkin/phonertc

App Crashes on second connection disconnected

未关闭
#155 4 条评论 0 个 reaction 已指派 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 摘要。