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:
@ -47,14 +47,13 @@ public:
|
||||
WebRtc_Word32 Reset();
|
||||
/**
|
||||
* Set target Rates for the encoder given the channel parameters
|
||||
* Inputs: bitRate - target bitRate, in the conference case this is the rate
|
||||
* between the sending client and the server
|
||||
* Inputs: target bitrate - the encoder target bitrate in bits/s.
|
||||
* fractionLost - packet loss in % in the network
|
||||
* roundTripTimeMs - round trip time in miliseconds
|
||||
* roundTripTimeMs - round trip time in milliseconds
|
||||
* minBitRate - the bit rate of the end-point with lowest rate
|
||||
* maxBitRate - the bit rate of the end-point with highest rate
|
||||
*/
|
||||
WebRtc_UWord32 SetTargetRates(WebRtc_UWord32 bitRate,
|
||||
WebRtc_UWord32 SetTargetRates(WebRtc_UWord32 target_bitrate,
|
||||
WebRtc_UWord8 &fractionLost,
|
||||
WebRtc_UWord32 roundTripTimeMs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user