Index: webrtc/video/vie_encoder.h |
diff --git a/webrtc/video/vie_encoder.h b/webrtc/video/vie_encoder.h |
index 556ed449955d4819fab7206691b7d8f06ca63751..523de59b620216b4c563d19ff3cefd1edb082ab7 100644 |
--- a/webrtc/video/vie_encoder.h |
+++ b/webrtc/video/vie_encoder.h |
@@ -83,13 +83,11 @@ class ViEEncoder : public VideoEncoderRateObserver, |
void EncodeVideoFrame(const VideoFrame& video_frame); |
void SendKeyFrame(); |
- uint32_t LastObservedBitrateBps() const; |
- // Loss protection. Must be called before SetEncoder() to have max packet size |
- // updated according to protection. |
- // TODO(pbos): Set protection method on construction. |
- void SetProtectionMethod(bool nack, bool fec); |
- |
// Implements VideoEncoderRateObserver. |
+ // TODO(perkj): Refactor VideoEncoderRateObserver. This is only used for |
+ // stats. The stats should be set in VideoSendStream instead. |
+ // |bitrate_bps| is the target bitrate and |framerate| is the input frame |
+ // rate so it has nothing to do with the actual encoder. |
void OnSetRates(uint32_t bitrate_bps, int framerate) override; |
// Implements EncodedImageCallback. |