Home
last modified time | relevance | path

Searched refs:protected_packet (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc447 std::unique_ptr<ProtectedPacket> protected_packet( in InsertFecPacket() local
450 protected_packet->ssrc = protected_media_ssrc_; in InsertFecPacket()
451 protected_packet->seq_num = static_cast<uint16_t>( in InsertFecPacket()
453 protected_packet->pkt = nullptr; in InsertFecPacket()
454 fec_packet->protected_packets.push_back(std::move(protected_packet)); in InsertFecPacket()
650 for (const auto& protected_packet : fec_packet.protected_packets) { in RecoverPacket() local
651 if (protected_packet->pkt == nullptr) { in RecoverPacket()
653 recovered_packet->seq_num = protected_packet->seq_num; in RecoverPacket()
655 XorHeaders(*protected_packet->pkt, recovered_packet->pkt); in RecoverPacket()
656 XorPayloads(*protected_packet->pkt, in RecoverPacket()
[all …]