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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_format_vp9.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
Index: webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc
index 6f020101724d667521cf8ef823e26086a87b5f4b..b08ec8b03cd9e6058c3a54e5ded201e43c617d5a 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp9.cc
@@ -472,24 +472,6 @@ RtpPacketizerVp9::RtpPacketizerVp9(const RTPVideoHeaderVP9& hdr,
RtpPacketizerVp9::~RtpPacketizerVp9() {
}
-ProtectionType RtpPacketizerVp9::GetProtectionType() {
- bool protect =
- hdr_.temporal_idx == 0 || hdr_.temporal_idx == kNoTemporalIdx;
- return protect ? kProtectedPacket : kUnprotectedPacket;
-}
-
-StorageType RtpPacketizerVp9::GetStorageType(uint32_t retransmission_settings) {
- StorageType storage = kAllowRetransmission;
- if (hdr_.temporal_idx == 0 &&
- !(retransmission_settings & kRetransmitBaseLayer)) {
- storage = kDontRetransmit;
- } else if (hdr_.temporal_idx != kNoTemporalIdx && hdr_.temporal_idx > 0 &&
- !(retransmission_settings & kRetransmitHigherLayers)) {
- storage = kDontRetransmit;
- }
- return storage;
-}
-
std::string RtpPacketizerVp9::ToString() {
return "RtpPacketizerVp9";
}
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_vp9_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698