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:
@ -210,19 +210,6 @@ public interface VideoEncoder {
|
||||
*/
|
||||
@CalledByNative VideoCodecStatus encode(VideoFrame frame, EncodeInfo info);
|
||||
|
||||
/**
|
||||
* Informs the encoder of the packet loss and the round-trip time of the network.
|
||||
*
|
||||
* @param packetLoss How many packets are lost on average per 255 packets.
|
||||
* @param roundTripTimeMs Round-trip time of the network in milliseconds.
|
||||
*/
|
||||
// TODO(webrtc:9946): Remove this function when downstream projects have been
|
||||
// updated.
|
||||
@Deprecated
|
||||
default VideoCodecStatus setChannelParameters(short packetLoss, long roundTripTimeMs) {
|
||||
return VideoCodecStatus.OK;
|
||||
}
|
||||
|
||||
/** Sets the bitrate allocation and the target framerate for the encoder. */
|
||||
@CalledByNative VideoCodecStatus setRateAllocation(BitrateAllocation allocation, int framerate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user