Index: webrtc/video_engine/vie_encoder.h |
diff --git a/webrtc/video_engine/vie_encoder.h b/webrtc/video_engine/vie_encoder.h |
index 66ac4a506b514df1d964e5ef558f25ec1c2c0f05..5075c3b56e731ed8f38ceae7c03b9723fb926c71 100644 |
--- a/webrtc/video_engine/vie_encoder.h |
+++ b/webrtc/video_engine/vie_encoder.h |
@@ -87,7 +87,6 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
bool internal_source); |
int32_t DeRegisterExternalEncoder(uint8_t pl_type); |
int32_t SetEncoder(const VideoCodec& video_codec); |
- int32_t GetEncoder(VideoCodec* video_codec); |
// Scale or crop/pad image. |
int32_t ScaleInputImage(bool enable); |
@@ -100,8 +99,7 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
uint32_t LastObservedBitrateBps() const; |
int CodecTargetBitrate(uint32_t* bitrate) const; |
// Loss protection. |
- int32_t UpdateProtectionMethod(bool nack, bool fec); |
- bool nack_enabled() const { return nack_enabled_; } |
+ void SetProtectionMethod(bool nack, bool fec); |
// Buffering mode. |
void SetSenderBufferingMode(int target_delay_ms); |
@@ -126,7 +124,7 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
void OnLocalSsrcChanged(uint32_t old_ssrc, uint32_t new_ssrc) override; |
// Sets SSRCs for all streams. |
- bool SetSsrcs(const std::vector<uint32_t>& ssrcs); |
+ void SetSsrcs(const std::vector<uint32_t>& ssrcs); |
void SetMinTransmitBitrate(int min_transmit_bitrate_kbps); |
@@ -171,7 +169,7 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
// track when video is stopped long enough that we also want to stop sending |
// padding. |
int64_t time_of_last_frame_activity_ms_ GUARDED_BY(data_cs_); |
- bool simulcast_enabled_ GUARDED_BY(data_cs_); |
+ VideoCodec encoder_config_ GUARDED_BY(data_cs_); |
int min_transmit_bitrate_kbps_ GUARDED_BY(data_cs_); |
uint32_t last_observed_bitrate_bps_ GUARDED_BY(data_cs_); |
int target_delay_ms_ GUARDED_BY(data_cs_); |
@@ -181,9 +179,6 @@ class ViEEncoder : public RtcpIntraFrameObserver, |
std::map<unsigned int, int64_t> time_last_intra_request_ms_ |
GUARDED_BY(data_cs_); |
- bool fec_enabled_; |
- bool nack_enabled_; |
- |
ProcessThread* module_process_thread_; |
bool has_received_sli_ GUARDED_BY(data_cs_); |