Index: webrtc/video/rtp_video_stream_receiver.h |
diff --git a/webrtc/video/rtp_video_stream_receiver.h b/webrtc/video/rtp_video_stream_receiver.h |
index 736f513697f1b1adc19dba9988402c5e0a293fc8..924f1be86c40fec19e46a891f47d69c5afe8d344 100644 |
--- a/webrtc/video/rtp_video_stream_receiver.h |
+++ b/webrtc/video/rtp_video_stream_receiver.h |
@@ -19,6 +19,7 @@ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/criticalsection.h" |
+#include "webrtc/call/rtp_packet_sink_interface.h" |
#include "webrtc/modules/include/module_common_types.h" |
#include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" |
#include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" |
@@ -58,6 +59,7 @@ class VideoReceiver; |
class RtpVideoStreamReceiver : public RtpData, |
public RecoveredPacketReceiver, |
public RtpFeedback, |
+ public RtpPacketSinkInterface, |
public VCMFrameTypeCallback, |
public VCMPacketRequestCallback, |
public video_coding::OnReceivedFrameCallback, |
@@ -96,8 +98,8 @@ class RtpVideoStreamReceiver : public RtpData, |
void SignalNetworkState(NetworkState state); |
- // TODO(nisse): Intended to be part of an RtpPacketReceiver interface. |
- void OnRtpPacket(const RtpPacketReceived& packet); |
+ // Implements RtpPacketSinkInterface. |
+ void OnRtpPacket(const RtpPacketReceived& packet) override; |
// Implements RtpData. |
int32_t OnReceivedPayloadData(const uint8_t* payload_data, |