Home
last modified time | relevance | path

Searched refs:tmmbr (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtmmbr_unittest.cc34 Tmmbr tmmbr; in TEST() local
35 tmmbr.SetSenderSsrc(kSenderSsrc); in TEST()
36 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
38 rtc::Buffer packet = tmmbr.Build(); in TEST()
45 Tmmbr tmmbr; in TEST() local
46 EXPECT_TRUE(test::ParseSinglePacket(kPacket, &tmmbr)); in TEST()
47 const Tmmbr& parsed = tmmbr; in TEST()
57 Tmmbr tmmbr; in TEST() local
58 tmmbr.SetSenderSsrc(kSenderSsrc); in TEST()
59 tmmbr.AddTmmbr(TmmbItem(kRemoteSsrc, kBitrateBps, kOverhead)); in TEST()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver.cc131 std::map<uint32_t, TimedTmmbrItem> tmmbr; member
682 tmmbr_info->tmmbr.clear(); in UpdateTmmbrTimers()
900 rtcp::Tmmbr tmmbr; in HandleTmmbr() local
901 if (!tmmbr.Parse(rtcp_block)) { in HandleTmmbr()
906 uint32_t sender_ssrc = tmmbr.sender_ssrc(); in HandleTmmbr()
907 if (tmmbr.media_ssrc()) { in HandleTmmbr()
910 sender_ssrc = tmmbr.media_ssrc(); in HandleTmmbr()
913 for (const rtcp::TmmbItem& request : tmmbr.requests()) { in HandleTmmbr()
917 TmmbrInformation* tmmbr_info = FindOrCreateTmmbrInfo(tmmbr.sender_ssrc()); in HandleTmmbr()
918 auto* entry = &tmmbr_info->tmmbr[sender_ssrc]; in HandleTmmbr()
[all …]
Drtcp_sender.cc584 rtcp::Tmmbr* tmmbr = new rtcp::Tmmbr(); in BuildTMMBR() local
585 tmmbr->SetSenderSsrc(ssrc_); in BuildTMMBR()
590 tmmbr->AddTmmbr(request); in BuildTMMBR()
592 return std::unique_ptr<rtcp::RtcpPacket>(tmmbr); in BuildTMMBR()
599 for (const rtcp::TmmbItem& tmmbr : tmmbn_to_send_) { in BuildTMMBN() local
600 if (tmmbr.bitrate_bps() > 0) { in BuildTMMBN()
601 tmmbn->AddTmmbr(tmmbr); in BuildTMMBN()
Drtcp_receiver_unittest.cc1203 rtcp::Tmmbr tmmbr; in TEST() local
1204 tmmbr.SetSenderSsrc(kSenderSsrc); in TEST()
1205 tmmbr.AddTmmbr(rtcp::TmmbItem(kReceiverMainSsrc, kBitrateBps, 0)); in TEST()
1210 compound.Append(&tmmbr); in TEST()
1231 rtcp::Tmmbr tmmbr; in TEST() local
1232 tmmbr.SetSenderSsrc(kSenderSsrc); in TEST()
1233 tmmbr.AddTmmbr(rtcp::TmmbItem(kNotToUsSsrc, kBitrateBps, 0)); in TEST()
1239 compound.Append(&tmmbr); in TEST()
1254 rtcp::Tmmbr tmmbr; in TEST() local
1255 tmmbr.SetSenderSsrc(kSenderSsrc); in TEST()
[all …]
Drtcp_sender_unittest.cc548 EXPECT_EQ(1, parser()->tmmbr()->num_packets()); in TEST_F()
549 EXPECT_EQ(kSenderSsrc, parser()->tmmbr()->sender_ssrc()); in TEST_F()
550 EXPECT_EQ(1U, parser()->tmmbr()->requests().size()); in TEST_F()
551 EXPECT_EQ(kBitrateBps, parser()->tmmbr()->requests()[0].bitrate_bps()); in TEST_F()
563 EXPECT_EQ(1, parser()->tmmbr()->num_packets()); in TEST_F()
564 EXPECT_EQ(1U, parser()->tmmbr()->requests().size()); in TEST_F()
567 EXPECT_EQ(2, parser()->tmmbr()->num_packets()); in TEST_F()
/external/webrtc/test/
Drtcp_packet_parser.h103 PacketCounter<rtcp::Tmmbr>* tmmbr() { return &tmmbr_; } in tmmbr() function
/external/webrtc/modules/rtp_rtcp/
DBUILD.gn46 "source/rtcp_packet/tmmbr.h",
84 "source/rtcp_packet/tmmbr.cc",
/external/webrtc/
DAndroid.bp3114 "modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc",
/external/webrtc/android_tools/
Dsorted_targets.txt52450 "//modules/rtp_rtcp/source/rtcp_packet/tmmbr.h",
52547 "//modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc": [
52548 "obj/modules/rtp_rtcp/rtp_rtcp_format/tmmbr.o"
52612 "//modules/rtp_rtcp/source/rtcp_packet/tmmbr.cc",