fix(video): recover encoder capacity, pace RTP and isolate preview sessions

This commit is contained in:
DCCONSTRUCTIONS
2026-11-21 20:58:25 +03:00
parent 3d04fa45d3
commit bed1db3508
29 changed files with 1534 additions and 141 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ sys.path.insert(0, str(REPOSITORY / "scripts/packaging"))
from debian import package # noqa: E402
from fetch_sdk import verify # noqa: E402
VERSION = "0.1.3-30"
VERSION = "0.1.3-37"
WHEELS = {
"aiohappyeyeballs",
"aiohttp",
@@ -89,6 +89,18 @@ try:
)
suite = unittest.defaultTestLoader.discover(str(ROOT / "tests"), pattern="check_*.py")
suite.addTests(unittest.defaultTestLoader.discover(str(ROOT / "tests"), pattern="test_ble*.py"))
# Exercise the exact packaged SDK/libx264 wheels, not the Mac's native codec.
spec = importlib.util.spec_from_file_location(
"codec_regressions", ROOT.parents[1] / "tests/test_media_reconfiguration.py")
codec_tests = importlib.util.module_from_spec(spec)
spec.loader.exec_module(codec_tests)
suite.addTests(unittest.FunctionTestCase(test) for name, test in vars(codec_tests).items()
if name.startswith("test_") and callable(test))
spec = importlib.util.spec_from_file_location(
"profile_regressions", ROOT.parents[1] / "tests/test_media_profile_recovery.py")
profile_tests = importlib.util.module_from_spec(spec)
spec.loader.exec_module(profile_tests)
suite.addTests(unittest.defaultTestLoader.loadTestsFromModule(profile_tests))
if not unittest.TextTestRunner(verbosity=2).run(suite).wasSuccessful():
raise RuntimeError("Package qualification tests failed")
finally: