Searched refs:new_packet (Results 1 – 5 of 5) sorted by relevance
52 Packet* new_packet = new Packet; in SplitRed() local53 new_packet->header = red_packet->header; in SplitRed()57 new_packet->header.payloadType = payload_ptr[0] & 0x7F; in SplitRed()61 new_packet->payload_length = red_packet->payload_length - sum_length; in SplitRed()62 new_packet->primary = true; // Last block is always primary. in SplitRed()68 new_packet->header.timestamp = red_packet->header.timestamp - in SplitRed()71 new_packet->payload_length = ((payload_ptr[2] & 0x03) << 8) + in SplitRed()73 new_packet->primary = false; in SplitRed()76 sum_length += new_packet->payload_length; in SplitRed()79 new_packets.push_back(new_packet); in SplitRed()[all …]
29 explicit NewTimestampIsLarger(const Packet* new_packet) in NewTimestampIsLarger() argument30 : new_packet_(new_packet) { in NewTimestampIsLarger()
96 NETEQTEST_RTPpacket *new_packet = new NETEQTEST_DummyRTPpacket(); in main() local98 NETEQTEST_RTPpacket *new_packet = new NETEQTEST_RTPpacket(); in main()100 if (new_packet->readFromFile(in_file) < 0) { in main()107 std::pair<uint16_t, uint32_t>(new_packet->sequenceNumber(), in main()108 new_packet->timeStamp()); in main()111 new_packet->setTime(new_send_time); // Set new send time. in main()112 packet_vec.push_back(new_packet); // Insert in vector. in main()
740 MediaPacket* new_packet = in RunFor() local742 new_packets.push_back(new_packet); in RunFor()743 new_packet->SetAbsSendTimeMs(next_frame_ms); in RunFor()744 new_packet->set_sender_timestamp_us(send_time_us); in RunFor()
1902 bool new_packet = packets_sent_ == 0 || in OnSendRtp() local1905 if (payload_length > 0 && new_packet) { in OnSendRtp()