Count only current viewer media against the preparation limit

This commit is contained in:
evgeny committed 2026-10-14 01:43:44 +02:00
1 parent 990713c7a7
commit bf12bd5b05
2 files changed
+16 -1

No files matched your search

+2
View File
@@ -257,6 +257,7 @@ private slots:
void modernCodecPlayback() {
#ifdef HAVE_FFMPEG
debug_set_category_level(DEBUG_CATEGORY_STREAM, DEBUG_LEVEL_DEBUG);
struct Fixture { uint8_t type; const char* encoder; };
const Fixture fixtures[] = {{STREAM_MEDIA_H265, "libx265"}, {STREAM_MEDIA_VP9, "libvpx-vp9"}, {STREAM_MEDIA_AV1, "libaom-av1"}};
for (const auto& fixture : fixtures) {
@@ -303,6 +304,7 @@ private slots:
QTRY_VERIFY_WITH_TIMEOUT(stream_get_info(publisher, &info) == STREAM_OK && info.owners == 1, 2000);
window.close(); QTest::qWait(20);
}
debug_set_category_level(DEBUG_CATEGORY_STREAM, DEBUG_LEVEL_INFO);
#endif
}