Chromium Code Reviews| Index: webrtc/call/flexfec_receive_stream_impl.h |
| diff --git a/webrtc/call/flexfec_receive_stream_impl.h b/webrtc/call/flexfec_receive_stream_impl.h |
| index 36ea623c2e49e7b429991eb45c5150734091a7b1..fa09df0f1ff26497c71f8fadd473cd2abca8f899 100644 |
| --- a/webrtc/call/flexfec_receive_stream_impl.h |
| +++ b/webrtc/call/flexfec_receive_stream_impl.h |
| @@ -15,6 +15,7 @@ |
| #include "webrtc/base/criticalsection.h" |
| #include "webrtc/call/flexfec_receive_stream.h" |
| +#include "webrtc/call/rtp_packet_receiver.h" |
| namespace webrtc { |
| @@ -26,7 +27,9 @@ class RtcpRttStats; |
| class RtpPacketReceived; |
| class RtpRtcp; |
| -class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { |
| +class FlexfecReceiveStreamImpl |
| + : public FlexfecReceiveStream, |
| + public RtpPacketReceiver { |
| public: |
| FlexfecReceiveStreamImpl(const Config& config, |
| RecoveredPacketReceiver* recovered_packet_receiver, |
| @@ -36,7 +39,9 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { |
| const Config& GetConfig() const { return config_; } |
| - bool AddAndProcessReceivedPacket(const RtpPacketReceived& packet); |
| + // Implements RtpPacketReceiver |
| + bool OnRtpPacket(const RtpPacketReceived& packet) override; |
| + const RtpConfig& rtp_config() const override; |
| // Implements FlexfecReceiveStream. |
| void Start() override; |
| @@ -46,6 +51,7 @@ class FlexfecReceiveStreamImpl : public FlexfecReceiveStream { |
| private: |
| // Config. |
| const Config config_; |
| + const RtpConfig rtp_config_; |
|
brandtr
2017/02/09 14:51:55
The information in |rtp_config_| is completely bas
nisse-webrtc
2017/02/09 16:20:48
I agree. Main show stopper at the moment is the di
|
| bool started_ GUARDED_BY(crit_); |
| rtc::CriticalSection crit_; |