Formatting

This commit is contained in:
Nicolas Mowen 2024-05-17 07:25:50 -06:00
parent 8af7a84670
commit 52a5bbd729

View File

@ -119,7 +119,9 @@ def go2rtc_streams():
@bp.route("/go2rtc/streams/<camera_name>")
def go2rtc_camera_stream(camera_name: str):
r = requests.get(f"http://127.0.0.1:1984/api/streams?src={camera_name}&video=all&audio=all&microphone")
r = requests.get(
f"http://127.0.0.1:1984/api/streams?src={camera_name}&video=all&audio=all&microphone"
)
if not r.ok:
logger.error("Failed to fetch streams from go2rtc")
return make_response(