Minor fix to avoid breakage
Related to AutoMute feature. Fixed a lint nit, too. TBR=mflodman@webrtc.org BUG=2436 Review URL: https://webrtc-codereview.appspot.com/2347004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4910 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -39,7 +39,7 @@ class WEBRTC_DLLEXPORT ViEEncoderObserver {
|
|||||||
// This method is called whenever the state of the AutoMuter changes, i.e.,
|
// This method is called whenever the state of the AutoMuter changes, i.e.,
|
||||||
// when |is_muted| toggles.
|
// when |is_muted| toggles.
|
||||||
// TODO(hlundin): Remove the default implementation when possible.
|
// TODO(hlundin): Remove the default implementation when possible.
|
||||||
virtual void VideoAutoMuted(bool is_muted) {};
|
virtual void VideoAutoMuted(bool is_muted) {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~ViEEncoderObserver() {}
|
virtual ~ViEEncoderObserver() {}
|
||||||
@ -187,8 +187,9 @@ class WEBRTC_DLLEXPORT ViECodec {
|
|||||||
// |threshold_bps|, and turns back on when the rate goes back up above
|
// |threshold_bps|, and turns back on when the rate goes back up above
|
||||||
// |threshold_bps| + |window_bps|.
|
// |threshold_bps| + |window_bps|.
|
||||||
// This is under development; not tested.
|
// This is under development; not tested.
|
||||||
|
// TODO(hlundin): Remove the default implementation when possible.
|
||||||
virtual void EnableAutoMuting(int video_channel, int threshold_bps,
|
virtual void EnableAutoMuting(int video_channel, int threshold_bps,
|
||||||
int window_bps) = 0;
|
int window_bps) {}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ViECodec() {}
|
ViECodec() {}
|
||||||
|
Reference in New Issue
Block a user