Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dfec_receiver_impl.cc92 rtc::scoped_ptr<ForwardErrorCorrection::ReceivedPacket> received_packet( in AddReceivedRedPacket() local
94 received_packet->pkt = new ForwardErrorCorrection::Packet; in AddReceivedRedPacket()
100 received_packet->is_fec = payload_type == ulpfec_payload_type; in AddReceivedRedPacket()
101 received_packet->seq_num = header.sequenceNumber; in AddReceivedRedPacket()
147 memcpy(received_packet->pkt->data, incoming_rtp_packet, in AddReceivedRedPacket()
151 received_packet->pkt->data[1] &= 0x80; // reset the payload in AddReceivedRedPacket()
152 received_packet->pkt->data[1] += in AddReceivedRedPacket()
157 received_packet->pkt->data + header.headerLength, in AddReceivedRedPacket()
161 received_packet->pkt->length = blockLength; in AddReceivedRedPacket()
179 } else if (received_packet->is_fec) { in AddReceivedRedPacket()
[all …]
Drtp_fec_unittest.cc855 ForwardErrorCorrection::ReceivedPacket* received_packet; in ReceivedPackets() local
864 received_packet = new ForwardErrorCorrection::ReceivedPacket; in ReceivedPackets()
865 received_packet->pkt = new ForwardErrorCorrection::Packet; in ReceivedPackets()
866 received_packet_list_.push_back(received_packet); in ReceivedPackets()
867 received_packet->pkt->length = packet->length; in ReceivedPackets()
868 memcpy(received_packet->pkt->data, packet->data, packet->length); in ReceivedPackets()
869 received_packet->is_fec = is_fec; in ReceivedPackets()
873 received_packet->seq_num = in ReceivedPackets()
880 received_packet->seq_num = seq_num; in ReceivedPackets()
883 received_packet->ssrc = ssrc_; in ReceivedPackets()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dsend_time_history_unittest.cc76 PacketInfo received_packet(0, 0, kSeqNo, 0, false); in TEST_F() local
77 EXPECT_TRUE(history_.GetInfo(&received_packet, false)); in TEST_F()
78 EXPECT_EQ(kSentPacket, received_packet); in TEST_F()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc1711 const uint8_t* received_packet = reinterpret_cast<const uint8_t*>(data); in ReceivedRTPPacket() local
1713 if (!rtp_header_parser_->Parse(received_packet, length, &header)) { in ReceivedRTPPacket()
1727 return ReceivePacket(received_packet, length, header, in_order) ? 0 : -1; in ReceivedRTPPacket()