Remove redudant encoder rate calls.
Moves EncoderParameters update checks into GenericEncoder before calling SetRates/SetChannelParameters as applicable. Also removes CodecConfigParameters as a bonus. BUG= R=stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://codereview.webrtc.org/1426953003 . Cr-Commit-Position: refs/heads/master@{#10452}
This commit is contained in:
@ -185,16 +185,6 @@ public:
|
||||
uint8_t payloadType,
|
||||
bool internalSource = false) = 0;
|
||||
|
||||
// API to get codec config parameters to be sent out-of-band to a receiver.
|
||||
//
|
||||
// Input:
|
||||
// - buffer : Memory where the codec config parameters should be written.
|
||||
// - size : Size of the memory available.
|
||||
//
|
||||
// Return value : Number of bytes written, on success.
|
||||
// < 0, on error.
|
||||
virtual int32_t CodecConfigParameters(uint8_t* buffer, int32_t size) = 0;
|
||||
|
||||
// API to get currently configured encoder target bitrate in bits/s.
|
||||
//
|
||||
// Return value : 0, on success.
|
||||
|
Reference in New Issue
Block a user