CallPerfTest: Add encode framerate test with lower input fps.
Verify if framerate expectation on top layer can be enabled. Bug: webrtc:13031 Change-Id: Ib720b808ce7b0cf8ad932d9d5307322b04a4b066 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231126 Reviewed-by: Björn Terelius <terelius@webrtc.org> Commit-Queue: Åsa Persson <asapersson@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34907}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
cf24573afa
commit
d3bf4d4142
@ -1187,4 +1187,16 @@ TEST_F(CallPerfTest, TestEncodeFramerateVp8Simulcast) {
|
||||
/*max_framerates=*/{20, 30});
|
||||
}
|
||||
|
||||
TEST_F(CallPerfTest, TestEncodeFramerateVp8SimulcastLowerInputFps) {
|
||||
InternalEncoderFactory internal_encoder_factory;
|
||||
test::FunctionVideoEncoderFactory encoder_factory(
|
||||
[&internal_encoder_factory]() {
|
||||
return std::make_unique<SimulcastEncoderAdapter>(
|
||||
&internal_encoder_factory, SdpVideoFormat("VP8"));
|
||||
});
|
||||
|
||||
TestEncodeFramerate(&encoder_factory, "VP8",
|
||||
/*max_framerates=*/{14, 20});
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
|
||||
Reference in New Issue
Block a user