mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 11:45:24 +03:00
don't fail on go2rtc stream with no url
This commit is contained in:
parent
595fa3d111
commit
3d921c15fc
@ -1358,7 +1358,7 @@ def go2rtc_streams():
|
||||
stream_data = r.json()
|
||||
for data in stream_data.values():
|
||||
for producer in data["producers"]:
|
||||
producer["url"] = clean_camera_user_pass(producer["url"])
|
||||
producer["url"] = clean_camera_user_pass(producer.get("url", ""))
|
||||
return jsonify(stream_data)
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user