| Index: webrtc/video/rtp_stream_receiver.h
|
| diff --git a/webrtc/video/rtp_stream_receiver.h b/webrtc/video/rtp_stream_receiver.h
|
| index afd19a7addc34a639bb5fe195c79716c950b01b5..54b470ff0229e62dda7976c7ca2bd86c116ee63c 100644
|
| --- a/webrtc/video/rtp_stream_receiver.h
|
| +++ b/webrtc/video/rtp_stream_receiver.h
|
| @@ -19,6 +19,7 @@
|
|
|
| #include "webrtc/base/constructormagic.h"
|
| #include "webrtc/base/criticalsection.h"
|
| +#include "webrtc/call/rtp_transport_controller_receive.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"
|
| @@ -57,6 +58,7 @@ class VideoReceiver;
|
|
|
| class RtpStreamReceiver : public RtpData,
|
| public RtpFeedback,
|
| + public RtpPacketReceiverInterface,
|
| public VCMFrameTypeCallback,
|
| public VCMPacketRequestCallback,
|
| public video_coding::OnReceivedFrameCallback,
|
| @@ -95,8 +97,8 @@ class RtpStreamReceiver : public RtpData,
|
|
|
| void SignalNetworkState(NetworkState state);
|
|
|
| - // TODO(nisse): Intended to be part of an RtpPacketReceiver interface.
|
| - void OnRtpPacket(const RtpPacketReceived& packet);
|
| + // RtpPacketReceiverInterface implementation.
|
| + bool OnRtpPacketReceive(RtpPacketReceived* packet) override;
|
|
|
| // Implements RtpData.
|
| int32_t OnReceivedPayloadData(const uint8_t* payload_data,
|
| @@ -150,7 +152,6 @@ class RtpStreamReceiver : public RtpData,
|
| bool IsPacketInOrder(const RTPHeader& header) const;
|
| bool IsPacketRetransmitted(const RTPHeader& header, bool in_order) const;
|
| void UpdateHistograms();
|
| - void EnableReceiveRtpHeaderExtension(const std::string& extension, int id);
|
| bool IsRedEnabled() const;
|
| void InsertSpsPpsIntoTracker(uint8_t payload_type);
|
|
|
| @@ -163,7 +164,7 @@ class RtpStreamReceiver : public RtpData,
|
| RemoteNtpTimeEstimator ntp_estimator_;
|
| RTPPayloadRegistry rtp_payload_registry_;
|
|
|
| - const std::unique_ptr<RtpHeaderParser> rtp_header_parser_;
|
| + RtpHeaderExtensionMap rtp_header_extensions_;
|
| const std::unique_ptr<RtpReceiver> rtp_receiver_;
|
| const std::unique_ptr<ReceiveStatistics> rtp_receive_statistics_;
|
| std::unique_ptr<UlpfecReceiver> ulpfec_receiver_;
|
|
|