Update overlay service to use MediaMTX v3 API
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user