ffmpeg处理完视频流后,上层的webrtc调用错误,可以看出webrtc的调用过程:
Backtrace:
webrtc::RTPFragmentationHeader::CopyFrom [0x5813CAD2+18] (d:workspacechromium_buildsrc hird_partywebrtcmodulesinterfacemodule_common_types.h:283)
webrtc::RtpPacketizerH264::SetPayloadData [0x5813D4ED+29] (d:workspacechromium_buildsrc hird_partywebrtcmodules
tp_rtcpsource
tp_format_h264.cc:172)
webrtc::RTPSenderVideo::SendVideo [0x581399AD+285] (d:workspacechromium_buildsrc hird_partywebrtcmodules
tp_rtcpsource
tp_sender_video.cc:290)
webrtc::RTPSender::SendOutgoingData [0x58131251+689] (d:workspacechromium_buildsrc hird_partywebrtcmodules
tp_rtcpsource
tp_sender.cc:532)
webrtc::ModuleRtpRtcpImpl::SendOutgoingData [0x581204EA+154] (d:workspacechromium_buildsrc hird_partywebrtcmodules
tp_rtcpsource
tp_rtcp_impl.cc:418)
webrtc::PayloadRouter::RoutePayload [0x58152FC7+103] (d:workspacechromium_buildsrc hird_partywebrtcvideo_enginepayload_router.cc:74)
webrtc::ViEEncoder::SendData [0x58150197+151] (d:workspacechromium_buildsrc hird_partywebrtcvideo_enginevie_encoder.cc:694)
webrtc::VCMEncodedFrameCallback::Encoded [0x5815BD8F+159] (d:workspacechromium_buildsrc hird_partywebrtcmodulesvideo_codingmainsourcegeneric_encoder.cc:320)
webrtc::FfmpegEncoder::Encode [0x5816B595+2309] (d:workspacechromium_buildsrc hird_partywebrtcmodulesvideo_codingcodecsh264ffmpeg_codec.cc:893)
webrtc::VCMGenericEncoder::Encode [0x5815BCA9+89] (d:workspacechromium_buildsrc hird_partywebrtcmodulesvideo_codingmainsourcegeneric_encoder.cc:159)
webrtc::vcm::VideoSender::AddVideoFrame [0x5815C496+486] (d:workspacechromium_buildsrc hird_partywebrtcmodulesvideo_codingmainsourcevideo_sender.cc:351)
webrtc::ViEEncoder::DeliverFrame [0x5814F345+357] (d:workspacechromium_buildsrc hird_partywebrtcvideo_enginevie_encoder.cc:580)
webrtc::internal::VideoCaptureInput::CaptureProcess [0x5814E7E6+182] (d:workspacechromium_buildsrc hird_partywebrtcvideovideo_capture_input.cc:149)
webrtc::ThreadWindows::Run [0x5802C12C+44] (d:workspacechromium_buildsrc hird_partywebrtcsystem_wrapperssource hread_win.cc:100)
webrtc::ThreadWindows::StartThread [0x5802C1CB+11] (d:workspacechromium_buildsrc hird_partywebrtcsystem_wrapperssource hread_win.cc:51)
BaseThreadInitThunk [0x7684336A+18]
RtlInitializeExceptionChain [0x77B59882+99]
RtlInitializeExceptionChain [0x77B59855+54]