| Index: webrtc/video/vie_encoder.h
|
| diff --git a/webrtc/video/vie_encoder.h b/webrtc/video/vie_encoder.h
|
| index 91497df6e9489204bf7b488fd76f2ea1ee02271a..621cf0b0201271b6dad70096af9a5fe3e41c5613 100644
|
| --- a/webrtc/video/vie_encoder.h
|
| +++ b/webrtc/video/vie_encoder.h
|
| @@ -60,7 +60,6 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| SendStatisticsProxy* stats_proxy,
|
| OveruseFrameDetector* overuse_detector,
|
| EncodedImageCallback* sink);
|
| -
|
| ~ViEEncoder();
|
|
|
| vcm::VideoSender* video_sender();
|
| @@ -78,12 +77,15 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| bool internal_source);
|
| int32_t DeRegisterExternalEncoder(uint8_t pl_type);
|
| void SetEncoder(const VideoCodec& video_codec,
|
| - int min_transmit_bitrate_bps,
|
| size_t max_data_payload_length);
|
|
|
| void EncodeVideoFrame(const VideoFrame& video_frame);
|
| void SendKeyFrame();
|
|
|
| + // Returns the time when the encoder last received an input frame or produced
|
| + // an encoded frame.
|
| + int64_t time_of_last_frame_activity_ms();
|
| +
|
| // Implements VideoEncoderRateObserver.
|
| // TODO(perkj): Refactor VideoEncoderRateObserver. This is only used for
|
| // stats. The stats should be set in VideoSendStream instead.
|
| @@ -106,10 +108,6 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| virtual void OnReceivedSLI(uint8_t picture_id);
|
| virtual void OnReceivedRPSI(uint64_t picture_id);
|
|
|
| - // Note that this method might return a value higher than the current BWE and
|
| - // it's up to the caller to possibly limit the value.
|
| - int GetPaddingNeededBps() const;
|
| -
|
| void OnBitrateUpdated(uint32_t bitrate_bps,
|
| uint8_t fraction_lost,
|
| int64_t round_trip_time_ms);
|
| @@ -135,7 +133,6 @@ class ViEEncoder : public VideoEncoderRateObserver,
|
| // padding.
|
| int64_t time_of_last_frame_activity_ms_ GUARDED_BY(data_cs_);
|
| VideoCodec encoder_config_ GUARDED_BY(data_cs_);
|
| - int min_transmit_bitrate_bps_ GUARDED_BY(data_cs_);
|
| uint32_t last_observed_bitrate_bps_ GUARDED_BY(data_cs_);
|
| bool encoder_paused_ GUARDED_BY(data_cs_);
|
| bool encoder_paused_and_dropped_frame_ GUARDED_BY(data_cs_);
|
|
|