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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_format_vp8.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_vp8.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h » ('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_vp8.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc
index b31de933dd6d612e0cda2b31ae0547a3fc9c950c..e56a977f28c9536b5902a47152e52b864221156d 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_format_vp8.cc
@@ -211,25 +211,6 @@ bool RtpPacketizerVp8::NextPacket(RtpPacketToSend* packet) {
return true;
}
-ProtectionType RtpPacketizerVp8::GetProtectionType() {
- bool protect =
- hdr_info_.temporalIdx == 0 || hdr_info_.temporalIdx == kNoTemporalIdx;
- return protect ? kProtectedPacket : kUnprotectedPacket;
-}
-
-StorageType RtpPacketizerVp8::GetStorageType(uint32_t retransmission_settings) {
- if (hdr_info_.temporalIdx == 0 &&
- !(retransmission_settings & kRetransmitBaseLayer)) {
- return kDontRetransmit;
- }
- if (hdr_info_.temporalIdx != kNoTemporalIdx &&
- hdr_info_.temporalIdx > 0 &&
- !(retransmission_settings & kRetransmitHigherLayers)) {
- return kDontRetransmit;
- }
- return kAllowRetransmission;
-}
-
std::string RtpPacketizerVp8::ToString() {
return "RtpPacketizerVp8";
}
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_format_vp8.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_vp9.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698