Add resolution bitrate thresholds to EncoderInfo.
When provided, these thresholds will be used instead of WebRTC default limits specified in DropDueToSize() and GetMaxDefaultVideoBitrateKbps(). Bug: none Change-Id: Ida45ea832041963b8b8475d69114b5c60a172fb7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/142170 Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Alex Glaznev <glaznev@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28390}
This commit is contained in:
committed by
Commit Bot
parent
2644a703cc
commit
be0adee768
@ -23,4 +23,9 @@ public class CodecsWrapperTestHelper {
|
||||
VideoCodecInfo codec_info = new VideoCodecInfo("H264", params);
|
||||
return codec_info;
|
||||
}
|
||||
|
||||
@CalledByNative
|
||||
public static VideoEncoder createFakeVideoEncoder() {
|
||||
return new FakeVideoEncoder();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user