Home
last modified time | relevance | path

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

/external/webrtc/talk/media/base/
Dfakenetworkinterface.h73 for (size_t i = 0; i < rtp_packets_.size(); ++i) { in NumRtpBytes()
74 bytes += static_cast<int>(rtp_packets_[i].size()); in NumRtpBytes()
88 return static_cast<int>(rtp_packets_.size()); in NumRtpPackets()
109 return new rtc::Buffer(rtp_packets_[index]); in GetRtpPacket()
141 rtp_packets_.push_back(*packet); in SendPacket()
209 for (size_t i = 0; i < rtp_packets_.size(); ++i) { in GetNumRtpBytesAndPackets()
210 if (!GetRtpSsrc(rtp_packets_[i].data(), rtp_packets_[i].size(), in GetNumRtpBytesAndPackets()
216 *bytes += static_cast<int>(rtp_packets_[i].size()); in GetNumRtpBytesAndPackets()
236 std::vector<rtc::Buffer> rtp_packets_; variable
Dfakemediaengine.h70 const std::list<std::string>& rtp_packets() const { return rtp_packets_; } in rtp_packets()
88 bool success = !rtp_packets_.empty(); in CheckRtp()
90 std::string packet = rtp_packets_.front(); in CheckRtp()
91 rtp_packets_.pop_front(); in CheckRtp()
105 bool CheckNoRtp() { return rtp_packets_.empty(); } in CheckNoRtp()
201 rtp_packets_.push_back(std::string(packet->data<char>(), packet->size())); in OnPacketReceived()
218 std::list<std::string> rtp_packets_; variable