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

Unified Diff: webrtc/media/engine/fakewebrtccall.h

Issue 2974453002: Protected streams report RTP messages directly to the FlexFec streams (Closed)
Patch Set: . Created 3 years, 5 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/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index 5dab0530af099f80902bb04cf3aa59878f64dcb8..c6a3890519508040ff0fef5c414e8b625bfe9018 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -30,6 +30,7 @@
#include "webrtc/call/audio_send_stream.h"
#include "webrtc/call/call.h"
#include "webrtc/call/flexfec_receive_stream.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
#include "webrtc/video_receive_stream.h"
#include "webrtc/video_send_stream.h"
@@ -198,6 +199,9 @@ class FakeVideoReceiveStream final : public webrtc::VideoReceiveStream {
void EnableEncodedFrameRecording(rtc::PlatformFile file,
size_t byte_limit) override;
+ void AddSecondarySink(webrtc::RtpPacketSinkInterface* sink) override;
+ void RemoveSecondarySink(const webrtc::RtpPacketSinkInterface* sink) override;
+
private:
// webrtc::VideoReceiveStream implementation.
void Start() override;
@@ -224,6 +228,8 @@ class FakeFlexfecReceiveStream final : public webrtc::FlexfecReceiveStream {
webrtc::FlexfecReceiveStream::Stats GetStats() const override;
+ void OnRtpPacket(const webrtc::RtpPacketReceived& packet) override;
+
webrtc::FlexfecReceiveStream::Config config_;
bool receiving_;
};

Powered by Google App Engine
This is Rietveld 408576698