Revert "Wire up non-sender RTT for audio, and implement related standardized stats."
This reverts commit fb0dca6c055cbf9e43af665d3c437eba6f43372e. Reason for revert: Speculative revert due to failing stats test in chromium. Possibly because the chromium test expected the metrics to not be supported, and now they are. Reverting just to unblock the webrtc roll into chromium. Original change's description: > Wire up non-sender RTT for audio, and implement related standardized stats. > > The implemented stats are: > - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-roundtriptime > - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-totalroundtriptime > - https://www.w3.org/TR/webrtc-stats/#dom-rtcremoteoutboundrtpstreamstats-roundtriptimemeasurements > > Bug: webrtc:12951, webrtc:12714 > Change-Id: Ia362d5c4b0456140e32da79d40edc06ab9ce2a2c > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226956 > Commit-Queue: Ivo Creusen <ivoc@webrtc.org> > Reviewed-by: Henrik Boström <hbos@webrtc.org> > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#34861} # Not skipping CQ checks because original CL landed > 1 day ago. TBR=hta,hbos,minyue Bug: webrtc:12951, webrtc:12714 Change-Id: If07ad63286eea9cdde88271e61cc28f4b268b290 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231001 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Olga Sharonova <olka@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34897}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
78a8ce0a4c
commit
2c41cbae37
@ -616,12 +616,12 @@ TEST_F(RtpRtcpImplTest, StoresPacketInfoForSentPackets) {
|
||||
/*is_last=*/1)));
|
||||
}
|
||||
|
||||
// Checks that the remote sender stats are not available if no RTCP SR was sent.
|
||||
// Checks that the sender report stats are not available if no RTCP SR was sent.
|
||||
TEST_F(RtpRtcpImplTest, SenderReportStatsNotAvailable) {
|
||||
EXPECT_THAT(receiver_.impl_->GetSenderReportStats(), Eq(absl::nullopt));
|
||||
}
|
||||
|
||||
// Checks that the remote sender stats are available if an RTCP SR was sent.
|
||||
// Checks that the sender report stats are available if an RTCP SR was sent.
|
||||
TEST_F(RtpRtcpImplTest, SenderReportStatsAvailable) {
|
||||
// Send a frame in order to send an SR.
|
||||
SendFrame(&sender_, sender_video_.get(), kBaseLayerTid);
|
||||
@ -630,7 +630,7 @@ TEST_F(RtpRtcpImplTest, SenderReportStatsAvailable) {
|
||||
EXPECT_THAT(receiver_.impl_->GetSenderReportStats(), Not(Eq(absl::nullopt)));
|
||||
}
|
||||
|
||||
// Checks that the remote sender stats are not available if an RTCP SR with an
|
||||
// Checks that the sender report stats are not available if an RTCP SR with an
|
||||
// unexpected SSRC is received.
|
||||
TEST_F(RtpRtcpImplTest, SenderReportStatsNotUpdatedWithUnexpectedSsrc) {
|
||||
constexpr uint32_t kUnexpectedSenderSsrc = 0x87654321;
|
||||
@ -670,7 +670,7 @@ TEST_F(RtpRtcpImplTest, SenderReportStatsCheckStatsFromLastReport) {
|
||||
Field(&SenderReportStats::bytes_sent, Eq(kOctetCount)))));
|
||||
}
|
||||
|
||||
// Checks that the remote sender stats count equals the number of sent RTCP SRs.
|
||||
// Checks that the sender report stats count equals the number of sent RTCP SRs.
|
||||
TEST_F(RtpRtcpImplTest, SenderReportStatsCount) {
|
||||
using SenderReportStats = RtpRtcpInterface::SenderReportStats;
|
||||
// Send a frame in order to send an SR.
|
||||
@ -685,7 +685,7 @@ TEST_F(RtpRtcpImplTest, SenderReportStatsCount) {
|
||||
Optional(Field(&SenderReportStats::reports_count, Eq(2u))));
|
||||
}
|
||||
|
||||
// Checks that the remote sender stats include a valid arrival time if an RTCP
|
||||
// Checks that the sender report stats include a valid arrival time if an RTCP
|
||||
// SR was sent.
|
||||
TEST_F(RtpRtcpImplTest, SenderReportStatsArrivalTimestampSet) {
|
||||
// Send a frame in order to send an SR.
|
||||
|
||||
Reference in New Issue
Block a user