webrtc中fec编解码流程

webrtc中fec编解码流程

WebRTC中FlexFEC和UlpFEC的流程, 最终走到XOR运算。

  • 发送端
red_enabled
flexfec_enabled
RtpVideoSender::OnEncodedImage
ModuleRtpRtcpImpl::SendOutgoingData
RTPSender::SendOutgoingData
RTPSenderVideo::SendVideo
RTPSenderVideo::SendVideoPacketAsRedMaybeWithUlpfec
RTPSenderVideo::SendVideoPacketWithFlexfec
FlexfecSender::AddRtpPacketAndGenerateFec
UlpfecGenerator::AddRtpPacketAndGenerateFec
ForwardErrorCorrection
ForwardErrorCorrection::XorHeaders
ForwardErrorCorrection::XorPayloads
  • 接收端
FlexfecReceiver::OnRtpPacket
FlexfecReceiver::AddReceivedPacket
FlexfecReceiver::ProcessReceivedPacket
ForwardErrorCorrection::DecodeFec
ForwardErrorCorrection::AttemptRecovery

你可能感兴趣的:(webrtc)