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

Unified Diff: webrtc/modules/rtp_rtcp/source/producer_fec.h

Issue 2217383002: Use RtpPacketToSend in RtpSenderVideo (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Ported PlayoutDelay extension support. Created 4 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/producer_fec.h
diff --git a/webrtc/modules/rtp_rtcp/source/producer_fec.h b/webrtc/modules/rtp_rtcp/source/producer_fec.h
index a65bb053e0a9cfd03564e6adf62f2672e6e4ce4c..1f44548f8183757e601efc15508a153eaf464202 100644
--- a/webrtc/modules/rtp_rtcp/source/producer_fec.h
+++ b/webrtc/modules/rtp_rtcp/source/producer_fec.h
@@ -18,6 +18,7 @@
#include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h"
namespace webrtc {
+class RtpPacketToSend;
class RedPacket {
public:
@@ -48,6 +49,9 @@ class ProducerFec {
size_t payload_length,
size_t rtp_header_length,
int red_payload_type);
+ static void BuildRedPacket(int red_payload_type,
+ const RtpPacketToSend& media_packet,
+ RtpPacketToSend* red_packet);
void SetFecParameters(const FecProtectionParams* params,
int num_first_partition);
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/playout_delay_oracle_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/producer_fec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698