webrtc中fec编解码流程

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/glw0223/article/details/89239879

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

猜你喜欢

转载自blog.csdn.net/glw0223/article/details/89239879