Chromium Code Reviews| Index: webrtc/call/flexfec_receive_stream_impl.cc |
| diff --git a/webrtc/call/flexfec_receive_stream_impl.cc b/webrtc/call/flexfec_receive_stream_impl.cc |
| index f01043349892574f5d240cacd27583173c68ad71..28de0824e4bdce1e26c3a689e13159e112a98aa7 100644 |
| --- a/webrtc/call/flexfec_receive_stream_impl.cc |
| +++ b/webrtc/call/flexfec_receive_stream_impl.cc |
| @@ -127,6 +127,7 @@ FlexfecReceiveStreamImpl::FlexfecReceiveStreamImpl( |
| RtcpRttStats* rtt_stats, |
| ProcessThread* process_thread) |
| : config_(config), |
| + rtp_header_extensions_(config.rtp_header_extensions), |
| started_(false), |
| receiver_(MaybeCreateFlexfecReceiver(config_, recovered_packet_receiver)), |
| rtp_receive_statistics_( |
| @@ -149,6 +150,12 @@ FlexfecReceiveStreamImpl::~FlexfecReceiveStreamImpl() { |
| process_thread_->DeRegisterModule(rtp_rtcp_.get()); |
| } |
| +bool FlexfecReceiveStreamImpl::OnRtpPacketReceive(RtpPacketReceived* packet) { |
| + packet->IdentifyExtensions(rtp_header_extensions_); |
| + OnRtpPacket(*packet); |
| + return true; |
|
pthatcher1
2017/04/29 00:58:46
Why does FlexfecReceiveStreamImpl have to know abo
|
| +} |
| + |
| void FlexfecReceiveStreamImpl::OnRtpPacket(const RtpPacketReceived& packet) { |
| { |
| rtc::CritScope cs(&crit_); |