Index: webrtc/media/engine/webrtcvideoengine2.h |
diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h |
index 28dfb9773a284ada65aa405bc6db3eb6bf0c4ea5..4e4cb5028d12004e2749145fe1442a67dc4d3e85 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.h |
+++ b/webrtc/media/engine/webrtcvideoengine2.h |
@@ -197,6 +197,7 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport { |
VideoCodec codec; |
webrtc::UlpfecConfig ulpfec; |
+ webrtc::FlexfecConfig flexfec; |
int rtx_payload_type; |
}; |
@@ -223,6 +224,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_); |
@@ -386,7 +388,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, |
+ webrtc::FlexfecConfig flexfec_config); |
~WebRtcVideoReceiveStream(); |
const std::vector<uint32_t>& GetSsrcs() const; |
@@ -436,6 +439,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_; |
WebRtcVideoDecoderFactory* const external_decoder_factory_; |
std::vector<AllocatedDecoder> allocated_decoders_; |