Update overlay service to use MediaMTX v3 API
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s

This commit is contained in:
Your Name
2025-09-02 12:46:01 +12:00
parent e6bb810915
commit 1b95675ef6

View File

@@ -84,7 +84,7 @@ class ScoreOverlayService:
try:
timeout = aiohttp.ClientTimeout(total=2)
async with aiohttp.ClientSession(timeout=timeout) as session:
url = f"{self.mediamtx_api}/v2/paths/list"
url = f"{self.mediamtx_api}/v3/paths/list"
async with session.get(url) as resp:
if resp.status == 200:
data = await resp.json()