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_; |
}; |