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

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
« no previous file with comments | « webrtc/media/DEPS ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/fakewebrtccall.h
diff --git a/webrtc/media/engine/fakewebrtccall.h b/webrtc/media/engine/fakewebrtccall.h
index 15f2108cca230777460486fecf2a632993b7fce2..b6e926b73edfaaa96dc17af34579b4e0f0648149 100644
--- a/webrtc/media/engine/fakewebrtccall.h
+++ b/webrtc/media/engine/fakewebrtccall.h
@@ -25,11 +25,12 @@
#include <vector>
#include "webrtc/api/video/video_frame.h"
+#include "webrtc/rtc_base/buffer.h"
danilchap 2017/07/24 15:02:07 reorder this include alpabetically
eladalon 2017/07/24 15:53:55 It's ordered on the latest revision.
#include "webrtc/call/audio_receive_stream.h"
#include "webrtc/call/audio_send_stream.h"
#include "webrtc/call/call.h"
#include "webrtc/call/flexfec_receive_stream.h"
-#include "webrtc/rtc_base/buffer.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;
@@ -226,6 +230,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_;
};
« no previous file with comments | « webrtc/media/DEPS ('k') | webrtc/media/engine/fakewebrtccall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698