Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc

Issue 2999063002: Add flag enabling more packets to be retransmittable. (Closed)
Patch Set: Addressed comments Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc
index 40d25d07612db7523be214f926a01a71bcbf1dc5..49ded0737aa929fb9fff3aa3494117faf2787751 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc
@@ -580,37 +580,6 @@ TEST_F(RtpPacketizerVp9Test, TestRespectsLastPacketReductionLen) {
EXPECT_TRUE(packet.Marker());
}
-TEST_F(RtpPacketizerVp9Test, TestBaseLayerProtectionAndStorageType) {
- const size_t kFrameSize = 10;
- const size_t kPacketSize = 12;
-
- // I:0, P:0, L:1, F:1, B:1, E:1, V:0 (2hdr + 10 payload)
- // L: T:0, U:0, S:0, D:0
- expected_.flexible_mode = true;
- expected_.temporal_idx = 0;
- Init(kFrameSize, kPacketSize);
- EXPECT_EQ(kProtectedPacket, packetizer_->GetProtectionType());
- EXPECT_EQ(kAllowRetransmission,
- packetizer_->GetStorageType(kRetransmitBaseLayer));
- EXPECT_EQ(kDontRetransmit, packetizer_->GetStorageType(kRetransmitOff));
-}
-
-TEST_F(RtpPacketizerVp9Test, TestHigherLayerProtectionAndStorageType) {
- const size_t kFrameSize = 10;
- const size_t kPacketSize = 12;
-
- // I:0, P:0, L:1, F:1, B:1, E:1, V:0 (2hdr + 10 payload)
- // L: T:1, U:0, S:0, D:0
- expected_.flexible_mode = true;
- expected_.temporal_idx = 1;
- Init(kFrameSize, kPacketSize);
- EXPECT_EQ(kUnprotectedPacket, packetizer_->GetProtectionType());
- EXPECT_EQ(kDontRetransmit, packetizer_->GetStorageType(kRetransmitBaseLayer));
- EXPECT_EQ(kAllowRetransmission,
- packetizer_->GetStorageType(kRetransmitHigherLayers));
-}
-
-
class RtpDepacketizerVp9Test : public ::testing::Test {
protected:
RtpDepacketizerVp9Test()
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698