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

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

Issue 2491293002: Make FlexFEC packets paceable through RTPSender. (Closed)
Patch Set: Feedback response 3. Created 4 years, 1 month 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_sender_video.h
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
index f8c5b7fe670791d72058840dba4fe0fbd60d50bc..23a4082af8ece1fc087fef5514775ad83a22bb79 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
+++ b/webrtc/modules/rtp_rtcp/source/rtp_sender_video.h
@@ -17,6 +17,7 @@
#include "webrtc/base/criticalsection.h"
#include "webrtc/base/onetimeevent.h"
+#include "webrtc/base/optional.h"
#include "webrtc/base/rate_statistics.h"
#include "webrtc/base/sequenced_task_checker.h"
#include "webrtc/base/thread_annotations.h"
@@ -67,9 +68,13 @@ class RTPSenderVideo {
void SetUlpfecConfig(int red_payload_type, int ulpfec_payload_type);
void GetUlpfecConfig(int* red_payload_type, int* ulpfec_payload_type) const;
+ // FlexFEC/ULPFEC.
void SetFecParameters(const FecProtectionParams& delta_params,
const FecProtectionParams& key_params);
+ // FlexFEC.
+ rtc::Optional<uint32_t> FlexfecSsrc() const;
+
uint32_t VideoBitrateSent() const;
uint32_t FecOverheadRate() const;

Powered by Google App Engine
This is Rietveld 408576698