Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_fec_unittest.cc814 ForwardErrorCorrection::Packet* media_packet; in IsRecoveryComplete() local
826 media_packet = *media_packet_list_item; in IsRecoveryComplete()
828 if (recovered_packet->pkt->length != media_packet->length) { in IsRecoveryComplete()
831 if (memcmp(recovered_packet->pkt->data, media_packet->data, in IsRecoveryComplete()
832 media_packet->length) != 0) { in IsRecoveryComplete()
892 ForwardErrorCorrection::Packet* media_packet = NULL; in ConstructMediaPacketsSeqNum() local
897 media_packet = new ForwardErrorCorrection::Packet; in ConstructMediaPacketsSeqNum()
898 media_packet_list_.push_back(media_packet); in ConstructMediaPacketsSeqNum()
899 media_packet->length = static_cast<uint16_t>( in ConstructMediaPacketsSeqNum()
904 if (media_packet->length < kRtpHeaderSize) { in ConstructMediaPacketsSeqNum()
[all …]
Dforward_error_correction.cc134 Packet* media_packet = *media_list_it; in GenerateFEC() local
135 assert(media_packet); in GenerateFEC()
137 if (media_packet->length < kRtpHeaderSize) { in GenerateFEC()
138 LOG(LS_WARNING) << "Media packet " << media_packet->length << " bytes " in GenerateFEC()
144 if (media_packet->length + PacketOverhead() + kTransportOverhead > in GenerateFEC()
146 LOG(LS_WARNING) << "Media packet " << media_packet->length << " bytes " in GenerateFEC()
230 Packet* media_packet = *media_list_it; in GenerateFecBitStrings() local
234 media_payload_length, media_packet->length - kRtpHeaderSize); in GenerateFecBitStrings()
236 fec_packet_length = media_packet->length + fec_rtp_offset; in GenerateFecBitStrings()
240 memcpy(generated_fec_packets_[i].data, media_packet->data, 2); in GenerateFecBitStrings()
[all …]