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

Unified Diff: webrtc/call/flexfec_receive_stream.h

Issue 2649973005: Inform jitter buffer about FlexFEC protection. (Closed)
Patch Set: Created 3 years, 11 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/call/flexfec_receive_stream.h
diff --git a/webrtc/call/flexfec_receive_stream.h b/webrtc/call/flexfec_receive_stream.h
index babeee0ecb64c4c93d4c961c9c3adaeb100893fb..cf20968c998e0864d45156be4ae8d52a4a8c6e19 100644
--- a/webrtc/call/flexfec_receive_stream.h
+++ b/webrtc/call/flexfec_receive_stream.h
@@ -21,6 +21,15 @@
namespace webrtc {
+class FlexfecProtectionMediator {
+ public:
+ // Is the media stream described by |ssrc| protected by FlexFEC?
+ virtual bool IsProtectedByFlexfec(uint32_t ssrc) = 0;
+
+ protected:
+ virtual ~FlexfecProtectionMediator() = default;
+};
+
class FlexfecReceiveStream {
public:
struct Stats {

Powered by Google App Engine
This is Rietveld 408576698