Lines Matching refs:packet_
29 packet_ = source_->PopPacket(); in NetEqReplacementInput()
34 return packet_ in NextPacketTime()
35 ? absl::optional<int64_t>(static_cast<int64_t>(packet_->time_ms)) in NextPacketTime()
44 std::unique_ptr<PacketData> to_return = std::move(packet_); in PopPacket()
46 packet_ = source_->PopPacket(); in PopPacket()
47 if (!packet_) in PopPacket()
49 if (packet_->payload.size() > packet_->header.paddingLength) { in PopPacket()
74 packet_.reset(); in ReplacePacket()
78 RTC_DCHECK(packet_); in ReplacePacket()
80 RTC_CHECK_EQ(forbidden_types_.count(packet_->header.payloadType), 0) in ReplacePacket()
81 << "Payload type " << static_cast<int>(packet_->header.payloadType) in ReplacePacket()
85 if (comfort_noise_types_.count(packet_->header.payloadType) != 0) { in ReplacePacket()
88 packet_->payload.SetData(cng_payload); in ReplacePacket()
98 next_hdr->timestamp - packet_->header.timestamp; in ReplacePacket()
99 if (next_hdr->sequenceNumber == packet_->header.sequenceNumber + 1 && in ReplacePacket()
107 FakeDecodeFromFile::PrepareEncoded(packet_->header.timestamp, in ReplacePacket()
109 packet_->payload.size(), payload); in ReplacePacket()
110 packet_->payload.SetData(payload); in ReplacePacket()
111 packet_->header.payloadType = replacement_payload_type_; in ReplacePacket()