Home | History | Annotate | Download | only in fakes

Lines Matching defs:packet

112   StorePacket(Packet::Rtp, data, len);
117 StorePacket(Packet::Rtcp, data, len);
131 void ConferenceTransport::StorePacket(Packet::Type type,
136 packet_queue_.push_back(Packet(type, data, len, rtc::Time()));
142 // a packet is first sent to the reflector, and then forwarded to the receiver
145 void ConferenceTransport::SendPacket(const Packet& packet) {
148 switch (packet.type_) {
149 case Packet::Rtp: {
151 rtp_header_parser_->Parse(packet.data_, packet.len_, &rtp_header);
153 remote_network_->ReceivedRTPPacket(reflector_, packet.data_,
154 packet.len_, webrtc::PacketTime());
159 local_network_->ReceivedRTPPacket(destination, packet.data_,
160 packet.len_,
167 case Packet::Rtcp: {
168 unsigned int sender_ssrc = ParseRtcpSsrc(packet.data_, packet.len_);
170 remote_network_->ReceivedRTCPPacket(reflector_, packet.data_,
171 packet.len_);
173 local_network_->ReceivedRTCPPacket(local_sender_, packet.data_,
174 packet.len_);
178 local_network_->ReceivedRTCPPacket(destination, packet.data_,
179 packet.len_);
199 Packet packet;
204 packet = packet_queue_.front();
208 int32_t elapsed_time_ms = rtc::TimeSince(packet.send_time_ms_);
211 // Every packet should be delayed by half of RTT.
215 SendPacket(packet);