Home
last modified time | relevance | path

Searched refs:receiver_report (Results 1 – 22 of 22) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dcompound_packet_unittest.cc56 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
57 EXPECT_EQ(kSenderSsrc, parser.receiver_report()->sender_ssrc()); in TEST()
58 EXPECT_EQ(1u, parser.receiver_report()->report_blocks().size()); in TEST()
85 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
86 EXPECT_EQ(1u, parser.receiver_report()->report_blocks().size()); in TEST()
112 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
113 EXPECT_EQ(1u, parser.receiver_report()->report_blocks().size()); in TEST()
140 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in TEST()
141 EXPECT_EQ(1U, parser.receiver_report()->report_blocks().size()); in TEST()
147 EXPECT_EQ(0, parser.receiver_report()->num_packets()); in TEST()
[all …]
/external/openscreen/cast/streaming/
Dcompound_rtcp_parser.cc95 absl::optional<RtcpReportBlock> receiver_report; in Parse() local
121 &receiver_report)) { in Parse()
179 if (receiver_report) { in Parse()
180 client_->OnReceiverReport(*receiver_report); in Parse()
203 absl::optional<RtcpReportBlock>* receiver_report) { in ParseReceiverReport() argument
208 *receiver_report = RtcpReportBlock::ParseOne(in, num_report_blocks, in ParseReceiverReport()
368 const RtcpReportBlock& receiver_report) {} in OnReceiverReport() argument
Dcompound_rtcp_parser.h46 virtual void OnReceiverReport(const RtcpReportBlock& receiver_report);
99 absl::optional<RtcpReportBlock>* receiver_report);
Dmock_compound_rtcp_parser_client.h18 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report));
Dsender.cc266 void Sender::OnReceiverReport(const RtcpReportBlock& receiver_report) { in OnReceiverReport() argument
272 receiver_report.last_status_report_id, rtcp_packet_arrival_time_); in OnReceiverReport()
274 Clock::to_duration(receiver_report.delay_since_last_report); in OnReceiverReport()
Dreceiver_unittest.cc237 MOCK_METHOD1(OnReceiverReport, void(const RtcpReportBlock& receiver_report));
373 RtcpReportBlock receiver_report; in TEST_F() local
375 .WillOnce(SaveArg<0>(&receiver_report)); in TEST_F()
392 EXPECT_EQ(kSenderSsrc, receiver_report.ssrc); in TEST_F()
393 EXPECT_EQ(sender_report_id, receiver_report.last_status_report_id); in TEST_F()
Dcompound_rtcp_builder.h73 const RtcpReportBlock& receiver_report);
Dcompound_rtcp_builder.cc41 const RtcpReportBlock& receiver_report) { in IncludeReceiverReportInNextPacket() argument
42 receiver_report_for_next_packet_ = receiver_report; in IncludeReceiverReportInNextPacket()
Dsender_unittest.cc204 RtcpReportBlock receiver_report; in SetReceiverReport() local
205 receiver_report.ssrc = kSenderSsrc; in SetReceiverReport()
206 receiver_report.last_status_report_id = reply_for; in SetReceiverReport()
207 receiver_report.delay_since_last_report = processing_delay; in SetReceiverReport()
208 rtcp_builder_.IncludeReceiverReportInNextPacket(receiver_report); in SetReceiverReport()
Dsender.h227 void OnReceiverReport(const RtcpReportBlock& receiver_report) final;
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_sender_unittest.cc259 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
260 EXPECT_EQ(kSenderSsrc, parser()->receiver_report()->sender_ssrc()); in TEST_F()
261 EXPECT_EQ(0U, parser()->receiver_report()->report_blocks().size()); in TEST_F()
268 EXPECT_EQ(parser()->receiver_report()->num_packets(), 0); in TEST_F()
277 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
278 EXPECT_EQ(kSenderSsrc, parser()->receiver_report()->sender_ssrc()); in TEST_F()
279 ASSERT_EQ(1U, parser()->receiver_report()->report_blocks().size()); in TEST_F()
280 const rtcp::ReportBlock& rb = parser()->receiver_report()->report_blocks()[0]; in TEST_F()
294 EXPECT_EQ(1, parser()->receiver_report()->num_packets()); in TEST_F()
295 EXPECT_EQ(kSenderSsrc, parser()->receiver_report()->sender_ssrc()); in TEST_F()
[all …]
Drtcp_transceiver_impl_unittest.cc447 ASSERT_GT(rtcp_parser.receiver_report()->num_packets(), 0); in TEST_F()
448 EXPECT_EQ(rtcp_parser.receiver_report()->sender_ssrc(), kSenderSsrc); in TEST_F()
486 EXPECT_EQ(rtcp_parser.receiver_report()->num_packets(), 0); in TEST_F()
654 ASSERT_GT(rtcp_parser.receiver_report()->num_packets(), 0); in TEST_F()
655 EXPECT_EQ(rtcp_parser.receiver_report()->sender_ssrc(), kSenderSsrc); in TEST_F()
656 ASSERT_THAT(rtcp_parser.receiver_report()->report_blocks(), in TEST_F()
658 EXPECT_EQ(rtcp_parser.receiver_report()->report_blocks()[0].source_ssrc(), in TEST_F()
870 EXPECT_GT(rtcp_parser.receiver_report()->num_packets(), 0); in TEST_F()
871 const auto& report_blocks = rtcp_parser.receiver_report()->report_blocks(); in TEST_F()
919 EXPECT_GT(rtcp_parser.receiver_report()->num_packets(), 0); in TEST_F()
[all …]
Drtcp_transceiver_impl.cc335 rtcp::ReceiverReport receiver_report; in HandleReceiverReport() local
336 if (!receiver_report.Parse(rtcp_packet_header)) { in HandleReceiverReport()
339 const auto& received_report_blocks = receiver_report.report_blocks(); in HandleReceiverReport()
340 CallbackOnReportBlocks(receiver_report.sender_ssrc(), received_report_blocks); in HandleReceiverReport()
688 rtcp::ReceiverReport receiver_report; in FillReports() local
689 receiver_report.SetSenderSsrc(sender_ssrc); in FillReports()
695 receiver_report.SetReportBlocks(std::move(sub_blocks)); in FillReports()
697 rtcp_sender.AppendPacket(receiver_report); in FillReports()
Drtcp_receiver.cc605 rtcp::ReceiverReport receiver_report; in HandleReceiverReport() local
606 if (!receiver_report.Parse(rtcp_block)) { in HandleReceiverReport()
611 const uint32_t remote_ssrc = receiver_report.sender_ssrc(); in HandleReceiverReport()
619 for (const ReportBlock& report_block : receiver_report.report_blocks()) in HandleReceiverReport()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc285 rtcp::ReceiverReport receiver_report; in NewReceiverReport() local
286 receiver_report.SetSenderSsrc(prng_.Rand<uint32_t>()); in NewReceiverReport()
287 receiver_report.AddReportBlock(NewReportBlock()); in NewReceiverReport()
288 return receiver_report; in NewReceiverReport()
428 rtcp::ReceiverReport receiver_report = NewReceiverReport(); in NewRtcpPacketIncoming() local
429 rtc::Buffer buffer = receiver_report.Build(); in NewRtcpPacketIncoming()
497 rtcp::ReceiverReport receiver_report = NewReceiverReport(); in NewRtcpPacketOutgoing() local
498 rtc::Buffer buffer = receiver_report.Build(); in NewRtcpPacketOutgoing()
/external/webrtc/test/
Drtcp_packet_parser.h91 PacketCounter<rtcp::ReceiverReport>* receiver_report() { in receiver_report() function
/external/webrtc/video/end_to_end_tests/
Dfec_tests.cc244 EXPECT_EQ(1, parser.receiver_report()->num_packets()); in OnReceiveRtcp()
246 parser.receiver_report()->report_blocks(); in OnReceiveRtcp()
Dextended_reports_tests.cc90 sent_rtcp_rr_ += parser.receiver_report()->num_packets(); in OnReceiveRtcp()
Drtp_rtcp_tests.cc69 if (parser.receiver_report()->num_packets() == 0 && in RespectsRtcpMode()
81 if (parser.receiver_report()->num_packets() == 0) in RespectsRtcpMode()
/external/webrtc/pc/
Drtc_stats_collector_unittest.cc3852 rtc::scoped_refptr<const RTCStatsReport> receiver_report = in TEST_F() local
3854 EXPECT_TRUE(receiver_report); in TEST_F()
3855 EXPECT_EQ(receiver_report->size(), 4u); in TEST_F()
3856 EXPECT_EQ(receiver_report->timestamp_us(), graph.full_report->timestamp_us()); in TEST_F()
3857 EXPECT_FALSE(receiver_report->Get(graph.send_codec_id)); in TEST_F()
3858 EXPECT_TRUE(receiver_report->Get(graph.recv_codec_id)); in TEST_F()
3859 EXPECT_FALSE(receiver_report->Get(graph.outbound_rtp_id)); in TEST_F()
3860 EXPECT_TRUE(receiver_report->Get(graph.inbound_rtp_id)); in TEST_F()
3861 EXPECT_TRUE(receiver_report->Get(graph.transport_id)); in TEST_F()
3862 EXPECT_FALSE(receiver_report->Get(graph.sender_track_id)); in TEST_F()
[all …]
/external/webrtc/modules/rtp_rtcp/
DBUILD.gn34 "source/rtcp_packet/receiver_report.h",
73 "source/rtcp_packet/receiver_report.cc",
/external/webrtc/
DAndroid.bp15769 "modules/rtp_rtcp/source/rtcp_packet/receiver_report.cc",