Change VCM interface to take target bitrate in bits per second.
This also solves issue 1469. TESTS=trybots BUG=1469 Review URL: https://webrtc-codereview.appspot.com/1215004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3681 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -105,10 +105,11 @@ public:
|
||||
const CodecSpecificInfo* codecSpecificInfo,
|
||||
const std::vector<FrameType>& frameTypes);
|
||||
/**
|
||||
* Set new target bit rate and frame rate
|
||||
* Return Value: new bit rate if OK, otherwise <0s
|
||||
* Set new target bitrate (bits/s) and framerate.
|
||||
* Return Value: new bit rate if OK, otherwise <0s.
|
||||
*/
|
||||
WebRtc_Word32 SetRates(WebRtc_UWord32 newBitRate, WebRtc_UWord32 frameRate);
|
||||
WebRtc_Word32 SetRates(WebRtc_UWord32 target_bitrate,
|
||||
WebRtc_UWord32 frameRate);
|
||||
/**
|
||||
* Set a new packet loss rate and a new round-trip time in milliseconds.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user