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

Unified Diff: webrtc/video/video_receive_stream.h

Issue 2390823009: Add path for recovered packets from internal::Call to RtpStreamReceiver. (Closed)
Patch Set: Created 4 years, 2 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/video/video_receive_stream.h
diff --git a/webrtc/video/video_receive_stream.h b/webrtc/video/video_receive_stream.h
index 416cfe993cc29d959d94e318d85da626e994b697..bbf5387145405b7b30896230ac61266e81d20b06 100644
--- a/webrtc/video/video_receive_stream.h
+++ b/webrtc/video/video_receive_stream.h
@@ -18,6 +18,7 @@
#include "webrtc/call/transport_adapter.h"
#include "webrtc/common_video/include/incoming_video_stream.h"
#include "webrtc/common_video/libyuv/include/webrtc_libyuv.h"
+#include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
#include "webrtc/modules/video_coding/video_coding_impl.h"
#include "webrtc/system_wrappers/include/clock.h"
#include "webrtc/video/receive_statistics_proxy.h"
@@ -42,7 +43,8 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
public rtc::VideoSinkInterface<VideoFrame>,
public EncodedImageCallback,
public NackSender,
- public KeyFrameRequestSender {
+ public KeyFrameRequestSender,
+ public RecoveredPacketReceiver {
stefan-webrtc 2016/10/10 15:42:02 It's not really necessary for this to implement Re
brandtr 2016/10/10 23:05:19 You are absolutely right. It doesn't really make s
public:
VideoReceiveStream(int num_cpu_cores,
CongestionController* congestion_controller,
@@ -59,6 +61,9 @@ class VideoReceiveStream : public webrtc::VideoReceiveStream,
size_t length,
const PacketTime& packet_time);
+ // Implements RecoveredPacketReceiver.
+ bool OnRecoveredPacket(const uint8_t* packet, size_t length) override;
+
// webrtc::VideoReceiveStream implementation.
void Start() override;
void Stop() override;

Powered by Google App Engine
This is Rietveld 408576698