modules/rtp_rtcp/source/rtp_rtcp_impl2_unittest.cc
// Checks that the sender report stats are available if an RTCP SR was sent.
Checks that the sender report stats are available if an RTCP SR was sent.
Checks that the sender report stats are available if an RTCP SR was sent .
TEST_P(RtpRtcpImpl2Test, SenderReportStatsAvailable) {
  EXPECT_TRUE(
      SendFrame(&sender_, sender_video_.get(), kBaseLayerTid, 0));
  ASSERT_THAT(sender_.impl_->SendRTCP(kRtcpReport), Eq(0));
  EXPECT_THAT(receiver_.impl_->GetSenderReportStats(), Not(Eq(absl::nullopt)));
}
TEST_P ( RtpRtcpImpl2Test , SenderReportStatsAvailable ) { EXPECT_TRUE ( SendFrame ( & sender_ , sender_video_ . get ( ) , kBaseLayerTid , 0 ) ) ; ASSERT_THAT ( sender_ . impl_ -> SendRTCP ( kRtcpReport ) , Eq ( 0 ) ) ; EXPECT_THAT ( receiver_ . impl_ -> GetSenderReportStats ( ) , Not ( Eq ( absl :: nullopt ) ) ) ; }
Checks that the sender report stats are available if an RTCP SR was sent.
Checks that the sender report stats are available if an RTCP SR was sent .
// Send a frame in order to send an SR. /*timestamp=*/ // Send an SR.