1

当收到远程候选人时,我的应用程序在调用 gotICECandidate 时崩溃,没有任何错误日志。

在此处输入图像描述

我从服务器得到的例外是这个。

在此处输入图像描述

回溯:

(lldb) bt
* thread #36, name = 'VoiceProcessThread', stop reason = EXC_BAD_ACCESS (code=1, address=0xb00000001062662c)
  * frame #0: 0x0000000100bee6d4 PortalApp`cricket::BaseChannel::SendPacket(bool, rtc::Buffer*, rtc::PacketOptions const&) + 204
    frame #1: 0x0000000100bbbdd0 PortalApp`cricket::MediaChannel::DoSendPacket(rtc::Buffer*, bool, rtc::PacketOptions const&) + 96
    frame #2: 0x0000000100be99a4 PortalApp`cricket::WebRtcVoiceMediaChannel::SendRtcp(unsigned char const*, unsigned long) + 108
    frame #3: 0x0000000100db528c PortalApp`webrtc::voe::Channel::SendRtcp(unsigned char const*, unsigned long) + 132
    frame #4: 0x0000000100d4de08 PortalApp`non-virtual thunk to webrtc::PacketContainer::OnPacketReady(unsigned char*, unsigned long) + 36
    frame #5: 0x0000000100d3f894 PortalApp`webrtc::rtcp::RtcpPacket::BuildExternalBuffer(unsigned char*, unsigned long, webrtc::rtcp::RtcpPacket::PacketReadyCallback*) const + 80
    frame #6: 0x0000000100d3f820 PortalApp`webrtc::rtcp::RtcpPacket::Build(webrtc::rtcp::RtcpPacket::PacketReadyCallback*) const + 60
    frame #7: 0x0000000100d4d228 PortalApp`webrtc::RTCPSender::SendCompoundRTCP(webrtc::RTCPSender::FeedbackState const&, std::__1::set<webrtc::RTCPPacketType, std::__1::less<webrtc::RTCPPacketType>, std::__1::allocator<webrtc::RTCPPacketType> > const&, int, unsigned short const*, bool, unsigned long long) + 596
    frame #8: 0x0000000100d4c614 PortalApp`webrtc::RTCPSender::SendRTCP(webrtc::RTCPSender::FeedbackState const&, webrtc::RTCPPacketType, int, unsigned short const*, bool, unsigned long long) + 112
    frame #9: 0x0000000100d3e2ec PortalApp`webrtc::ModuleRtpRtcpImpl::Process() + 972
    frame #10: 0x0000000100ea3d6c PortalApp`webrtc::ProcessThreadImpl::Process() + 188
    frame #11: 0x0000000100ceebb8 PortalApp`rtc::PlatformThread::Run() + 76
    frame #12: 0x0000000100ceeb60 PortalApp`rtc::PlatformThread::StartThread(void*) + 12
    frame #13: 0x00000001943e82c0 libsystem_pthread.dylib`_pthread_body + 128
    frame #14: 0x00000001943e8220 libsystem_pthread.dylib`_pthread_start + 44
    frame #15: 0x00000001943ebcdc libsystem_pthread.dylib`thread_start + 4
4

0 回答 0