Chromium Code Reviews| Index: webrtc/media/engine/webrtcvideoengine2.h |
| diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h |
| index 546799ec88b0ba8344613929042e0408b972a5e3..092ce622374ea3c38ba9ff60f26be96added7c6a 100644 |
| --- a/webrtc/media/engine/webrtcvideoengine2.h |
| +++ b/webrtc/media/engine/webrtcvideoengine2.h |
| @@ -194,6 +194,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
| VideoCodec codec; |
| webrtc::UlpfecConfig ulpfec; |
| + webrtc::FlexfecConfig flexfec; |
| int rtx_payload_type; |
| }; |
| @@ -220,6 +221,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
| void SetMaxSendBandwidth(int bps); |
| void ConfigureReceiverRtp(webrtc::VideoReceiveStream::Config* config, |
| + webrtc::FlexfecConfig* flexfec_config, |
| const StreamParams& sp) const; |
| bool ValidateSendSsrcAvailability(const StreamParams& sp) const |
| EXCLUSIVE_LOCKS_REQUIRED(stream_crit_); |
| @@ -383,7 +385,8 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
| webrtc::VideoReceiveStream::Config config, |
| WebRtcVideoDecoderFactory* external_decoder_factory, |
| bool default_stream, |
| - const std::vector<VideoCodecSettings>& recv_codecs); |
| + const std::vector<VideoCodecSettings>& recv_codecs, |
| + const webrtc::FlexfecConfig& flexfec_config); |
| ~WebRtcVideoReceiveStream(); |
| const std::vector<uint32_t>& GetSsrcs() const; |
| @@ -433,6 +436,8 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
| webrtc::VideoReceiveStream* stream_; |
| const bool default_stream_; |
| webrtc::VideoReceiveStream::Config config_; |
| + webrtc::FlexfecConfig flexfec_config_; |
| + webrtc::FlexfecReceiveStream* flexfec_stream_; |
|
magjed_webrtc
2016/11/18 14:28:00
Can you comment who owns |flexfec_stream_|?
brandtr
2016/11/21 08:52:03
Done.
|
| WebRtcVideoDecoderFactory* const external_decoder_factory_; |
| std::vector<AllocatedDecoder> allocated_decoders_; |