问题描述
开发环境:
iOS:13.7
实际设备:iPhone 11
Xcode: 12.0.1 (12A7300)
macOS:10.15.7 (19H15)
使用 webRTC 框架:pod 'webrtc-framework','~> 14493.4' 来源:https://github.com/RestComm/restcomm-ios-sdk/releases/download/v1.0.0-beta.4/webrtc-framework.zip
堆栈回溯信息:
(lldb) bt
* thread #9,name = 'Thread 0x0x11dd15720',stop reason = EXC_BAD_ACCESS (code=1,address=0x0)
* frame #0: 0x0000000102cb3050 WebRTC`webrtc::voe::TransportFeedbackProxy::OnTransportFeedback(webrtc::rtcp::TransportFeedback const&) + 40
frame #1: 0x0000000102db4e58 WebRTC`webrtc::RTCPReceiver::TriggerCallbacksFromRTCPPacket(webrtc::RTCPReceiver::PacketInformation const&) + 868
frame #2: 0x0000000102db45dc WebRTC`webrtc::RTCPReceiver::IncomingPacket(unsigned char const*,unsigned long) + 120
frame #3: 0x0000000102dca69c WebRTC`webrtc::ModuleRtpRtcpImpl::IncomingRtcpPacket(unsigned char const*,unsigned long) + 16
frame #4: 0x0000000102caf7dc WebRTC`webrtc::voe::Channel::ReceivedRTCPPacket(unsigned char const*,unsigned long) + 112
frame #5: 0x0000000102cb42bc WebRTC`webrtc::voe::ChannelProxy::ReceivedRTCPPacket(unsigned char const*,unsigned long) + 20
frame #6: 0x0000000102ca4010 WebRTC`webrtc::internal::Call::DeliverRtcp(webrtc::MediaType,unsigned char const*,unsigned long) + 448
frame #7: 0x0000000102f03f18 WebRTC`cricket::WebRtcVoiceMediaChannel::OnRtcpReceived(rtc::CopyOnWriteBuffer*,rtc::PacketTime const&) + 92
frame #8: 0x0000000102f9e174 WebRTC`cricket::BaseChannel::OnPacketReceived(bool,rtc::CopyOnWriteBuffer const&,rtc::PacketTime const&) + 80
frame #9: 0x0000000102ba4d54 WebRTC`rtc::AsyncInvoker::OnMessage(rtc::Message*) + 84
frame #10: 0x0000000102bb3694 WebRTC`rtc::MessageQueue::Dispatch(rtc::Message*) + 228
frame #11: 0x0000000102bcb66c WebRTC`rtc::Thread::ProcessMessages(int) + 172
frame #12: 0x0000000102bcb48c WebRTC`rtc::Thread::PreRun(void*) + 108
frame #13: 0x00000001b71ab914 libsystem_pthread.dylib`_pthread_start + 168
如果不将 AudioTrack 添加到媒体流中,应用程序将正常工作。但是稍后将 AudioTrack 添加到媒体流中然后运行,应用程序将在子线程中的 webrtc::voe::TransportFeedbackProxy::OnTransportFeedback
中崩溃。控制台没有任何有用的调试信息。任何建议将不胜感激。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)