Remove SetChannelParameters function from API classes.
Followup to https://webrtc-review.googlesource.com/c/src/+/108861 Bug: webrtc:9946 Change-Id: Ia6e7fa3942c21aefeadb7b214c85cff93fbc2ef6 Reviewed-on: https://webrtc-review.googlesource.com/c/109860 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25747}
This commit is contained in:
@ -123,8 +123,4 @@ VideoEncoder::EncoderInfo VideoEncoder::GetEncoderInfo() const {
|
||||
info.implementation_name = ImplementationName();
|
||||
return info;
|
||||
}
|
||||
|
||||
int32_t VideoEncoder::SetChannelParameters(uint32_t packet_loss, int64_t rtt) {
|
||||
return 0;
|
||||
}
|
||||
} // namespace webrtc
|
||||
|
||||
@ -202,17 +202,6 @@ class RTC_EXPORT VideoEncoder {
|
||||
const CodecSpecificInfo* codec_specific_info,
|
||||
const std::vector<FrameType>* frame_types) = 0;
|
||||
|
||||
// Inform the encoder of the new packet loss rate and the round-trip time of
|
||||
// the network.
|
||||
//
|
||||
// Input:
|
||||
// - packet_loss : Fraction lost
|
||||
// (loss rate in percent = 100 * packetLoss / 255)
|
||||
// - rtt : Round-trip time in milliseconds
|
||||
// Return value : WEBRTC_VIDEO_CODEC_OK if OK
|
||||
// <0 - Errors: WEBRTC_VIDEO_CODEC_ERROR
|
||||
virtual int32_t SetChannelParameters(uint32_t packet_loss, int64_t rtt);
|
||||
|
||||
// Inform the encoder about the new target bit rate.
|
||||
//
|
||||
// Input:
|
||||
|
||||
Reference in New Issue
Block a user