Fallback desktop video on decoder rejection and verify receive-only codecs

This commit is contained in:
evgeny committed 2026-10-14 23:17:25 +02:00
1 parent f47b7167a2
commit 634ef222a4
2 files changed
+35 -3

No files matched your search

@@ -45,6 +45,11 @@ private slots:
void switchesAtScheduledIdr_data() {
QTest::addColumn<int>("codec"); QTest::newRow("H264") << 1; QTest::newRow("H265") << 2;
}
void independentDecoders() {
auto caps = CallVideoDecoder::capabilities();
QCOMPARE(caps.decode[0].profiles, uint8_t(3)); QCOMPARE(caps.decode[1].profiles, uint8_t(1));
QCOMPARE(caps.encode[0].width, uint16_t(0)); QCOMPARE(caps.encode[1].width, uint16_t(0));
}
void switchesAtScheduledIdr() {
QFETCH(int, codec);
auto config = configuration(codec);