HomeSort by relevance Sort by last modified time
    Searched refs:Nack (Results 1 - 11 of 11) sorted by null

  /external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
nack.h 23 class Nack : public Rtpfb {
26 Nack() {}
28 virtual ~Nack() {}
58 RTC_DISALLOW_COPY_AND_ASSIGN(Nack);
nack_unittest.cc 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
21 using webrtc::rtcp::Nack;
48 Nack nack; local
49 nack.From(kSenderSsrc);
50 nack.To(kRemoteSsrc);
51 nack.WithList(kList, kListLength);
53 rtc::scoped_ptr<RawPacket> packet = nack.Build();
63 Nack parsed;
67 const Nack& const_parsed = parsed
75 Nack nack; local
105 Nack nack; local
125 Nack nack; local
144 Nack nack; local
165 Nack nack; local
    [all...]
nack.cc 11 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
40 // Generic NACK (RFC 4585).
48 bool Nack::Parse(const RtcpCommonHeader& header, const uint8_t* payload) {
54 << " is too small for a Nack.";
75 bool Nack::Create(uint8_t* packet,
80 // If nack list can't fit in packet, try to fragment.
114 size_t Nack::BlockLength() const {
119 void Nack::WithList(const uint16_t* nack_list, size_t length) {
127 void Nack::Pack() {
150 void Nack::Unpack()
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
nack.cc 11 #include "webrtc/modules/audio_coding/neteq/nack.h"
29 Nack::Nack(int nack_threshold_packets)
41 Nack::~Nack() = default;
43 Nack* Nack::Create(int nack_threshold_packets) {
44 return new Nack(nack_threshold_packets);
47 void Nack::UpdateSampleRate(int sample_rate_hz) {
52 void Nack::UpdateLastReceivedPacket(uint16_t sequence_number
    [all...]
nack.h 22 // The Nack class keeps track of the lost packets, an estimate of time-to-play
26 // called to update the NACK list.
38 // The Nack class has to know about the sample rate of the packets to compute
41 // then Nack should be reset. This is because NetEQ would flush its buffer and
52 class Nack {
54 // A limit for the size of the NACK list.
58 static Nack* Create(int nack_threshold_packets);
60 ~Nack();
62 // Set a maximum for the size of the NACK list. If the last received packet
63 // has sequence number of N, then NACK list will not contain any elemen
    [all...]
nack_unittest.cc 11 #include "webrtc/modules/audio_coding/neteq/nack.h"
58 rtc::scoped_ptr<Nack> nack(Nack::Create(kNackThreshold));
59 nack->UpdateSampleRate(kSampleRateHz);
66 nack->UpdateLastReceivedPacket(seq_num, timestamp);
67 nack_list = nack->GetNackList(kShortRoundTripTimeMs);
70 nack_list = nack->GetNackList(kShortRoundTripTimeMs);
76 rtc::scoped_ptr<Nack> nack(Nack::Create(kNackThreshold))
    [all...]
neteq_impl.h 44 class Nack;
89 // losses when Video NACK is enabled but Audio NACK is not. Clients of NetEq
399 rtc::scoped_ptr<Nack> nack_ GUARDED_BY(crit_sect_);
neteq_impl.cc 37 #include "webrtc/modules/audio_coding/neteq/nack.h"
421 nack_.reset(Nack::Create(kNackThresholdPackets));
    [all...]
  /external/webrtc/webrtc/test/
rtcp_packet_parser.h 336 class Nack : public PacketType {
338 Nack() {}
339 virtual ~Nack() {}
347 void Set(const RTCPUtility::RTCPPacketRTPFBNACK& nack) {
348 nack_ = nack;
652 Nack* nack() { return &nack_; }
687 Nack nack_;
  /external/webrtc/webrtc/modules/rtp_rtcp/source/
rtcp_sender.cc 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
47 void NACKStringBuilder::PushNACK(uint16_t nack) {
49 stream_ << nack; local
50 } else if (nack == prevNack_ + 1) {
57 stream_ << "," << nack; local
60 prevNack_ = nack;
702 rtcp::Nack* nack = new rtcp::Nack(); local
703 nack->From(ssrc_)
    [all...]
rtp_rtcp_impl_unittest.cc 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
219 rtcp::Nack nack; local
223 nack.From(sender ? kReceiverSsrc : kSenderSsrc);
224 nack.To(sender ? kSenderSsrc : kReceiverSsrc);
225 nack.WithList(list, kListLength);
226 rtc::scoped_ptr<rtcp::RawPacket> packet(nack.Build());
380 // Receive module sends a NACK.
387 // Send module receives the NACK.
457 // Send module sends a NACK
    [all...]

Completed in 148 milliseconds