rtx : https://tools.ietf.org/html/rfc4588 red: https://tools.ietf.org/html/rfc2198 ulpfec:https://tools.ietf.org/html/rfc5109
UlpfecGenerator::AddRtpPacketAndGenerateFec()方法中: if (complete_frame && (num_protected_frames_ == params_.max_fec_frames || (ExcessOverheadBelowMax() && MinimumMediaPacketsReached()))) { // We are not using Unequal Protection feature of the parity erasure code. constexpr int kNumImportantPackets = 0; constexpr bool kUseUnequalProtection = false; int ret = fec_->EncodeFec(media_packets_, params_.fec_rate, kNumImportantPackets, kUseUnequalProtection, params_.fec_mask_type, &generated_fec_packets_); if (generated_fec_packets_.empty()) { ResetState(); } return ret; }
-------------------广告线---------------
项目、合作,欢迎勾搭,邮箱:promall@qq.com
本文为呱牛笔记原创文章,转载无需和我联系,但请注明来自呱牛笔记 ,it3q.com