首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我试图结束呼叫(关闭连接)时,WebRTC崩溃

当我试图结束呼叫(关闭连接)时,WebRTC崩溃
EN

Stack Overflow用户
提问于 2018-06-12 12:53:12
回答 1查看 1.6K关注 0票数 2

WebRTC的android实现中,我检查了多次讨论--所有这些都提到了卸载的.so文件--我甚至尝试使用https://github.com/KeepSafe/ReLinker来保存这些.so文件。

下面是问题的崩溃日志:

代码语言:javascript
复制
E/art: No implementation found for void org.webrtc.voiceengine.WebRtcAudioRecord.nativeDataIsRecorded(int, long) (tried Java_org_webrtc_voiceengine_WebRtcAudioRecord_nativeDataIsRecorded and Java_org_webrtc_voiceengine_WebRtcAudioRecord_nativeDataIsRecorded__IJ)
E/AndroidRuntime: FATAL EXCEPTION: AudioRecordJavaThread
              Process: app.lov.com.lov_android_app, PID: 23128
              java.lang.UnsatisfiedLinkError: No implementation found for void org.webrtc.voiceengine.WebRtcAudioRecord.nativeDataIsRecorded(int, long) (tried Java_org_webrtc_voiceengine_WebRtcAudioRecord_nativeDataIsRecorded and Java_org_webrtc_voiceengine_WebRtcAudioRecord_nativeDataIsRecorded__IJ)
                  at org.webrtc.voiceengine.WebRtcAudioRecord.nativeDataIsRecorded(Native Method)
                  at org.webrtc.voiceengine.WebRtcAudioRecord.access$600(WebRtcAudioRecord.java:26)
                  at org.webrtc.voiceengine.WebRtcAudioRecord$AudioRecordThread.run(WebRtcAudioRecord.java:90)
E/art: No implementation found for void org.webrtc.voiceengine.WebRtcAudioTrack.nativeGetPlayoutData(int, long) (tried Java_org_webrtc_voiceengine_WebRtcAudioTrack_nativeGetPlayoutData and Java_org_webrtc_voiceengine_WebRtcAudioTrack_nativeGetPlayoutData__IJ)
EN

回答 1

Stack Overflow用户

发布于 2021-06-27 12:40:30

根据bug 在此报道 还有这里,您似乎只需要创建peerConnectionFactory一次。每次创建它时,它都尝试创建一个音频设备模块,但Android只支持其中一个模块。

此外(如果使用MediaSoup),请确保您只创建一个设备,并在完成时释放它。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/50817743

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档