Home
last modified time | relevance | path

Searched refs:rtcp_block (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver.cc444 CommonHeader rtcp_block; in ParseCompoundPacket() local
456 next_block = rtcp_block.NextPacket()) { in ParseCompoundPacket()
459 if (!rtcp_block.Parse(next_block, remaining_blocks_size)) { in ParseCompoundPacket()
469 switch (rtcp_block.type()) { in ParseCompoundPacket()
471 HandleSenderReport(rtcp_block, packet_information); in ParseCompoundPacket()
475 HandleReceiverReport(rtcp_block, packet_information); in ParseCompoundPacket()
478 HandleSdes(rtcp_block, packet_information); in ParseCompoundPacket()
483 HandleXr(rtcp_block, packet_information, contains_dlrr, ssrc); in ParseCompoundPacket()
490 HandleBye(rtcp_block); in ParseCompoundPacket()
493 HandleApp(rtcp_block, packet_information); in ParseCompoundPacket()
[all …]
Drtcp_receiver.h296 void HandleSenderReport(const rtcp::CommonHeader& rtcp_block,
300 void HandleReceiverReport(const rtcp::CommonHeader& rtcp_block,
309 void HandleSdes(const rtcp::CommonHeader& rtcp_block,
313 void HandleXr(const rtcp::CommonHeader& rtcp_block,
331 void HandleNack(const rtcp::CommonHeader& rtcp_block,
335 void HandleApp(const rtcp::CommonHeader& rtcp_block,
339 void HandleBye(const rtcp::CommonHeader& rtcp_block)
342 void HandlePli(const rtcp::CommonHeader& rtcp_block,
346 void HandlePsfbApp(const rtcp::CommonHeader& rtcp_block,
350 void HandleTmmbr(const rtcp::CommonHeader& rtcp_block,
[all …]
Drtcp_receiver_unittest.cc1570 rtcp::ReportBlock rtcp_block; in TEST() local
1571 rtcp_block.SetMediaSsrc(kReceiverMainSsrc); in TEST()
1572 rtcp_block.SetExtHighestSeqNum(kSequenceNumber); in TEST()
1573 rtcp_block.SetFractionLost(kFractionLoss); in TEST()
1574 rtcp_block.SetCumulativeLost(kCumulativeLoss); in TEST()
1575 rtcp_block.SetJitter(kJitter); in TEST()
1579 rtcp_report.AddReportBlock(rtcp_block); in TEST()
1583 EXPECT_EQ(rtcp_block.source_ssrc(), report_block.source_ssrc); in TEST()
1585 EXPECT_EQ(rtcp_block.fraction_lost(), report_block.fraction_lost); in TEST()
1586 EXPECT_EQ(rtcp_block.cumulative_lost_signed(), in TEST()
[all …]
Drtcp_transceiver_impl.cc180 rtcp::CommonHeader rtcp_block; in ReceivePacket() local
181 if (!rtcp_block.Parse(packet.data(), packet.size())) in ReceivePacket()
184 HandleReceivedPacket(rtcp_block, now, report_blocks); in ReceivePacket()
186 packet = packet.subview(rtcp_block.packet_size()); in ReceivePacket()