Skip to content

Commit

Permalink
don't fail on go2rtc stream with no url (blakeblackshear#8839)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Dec 3, 2023
1 parent 595fa3d commit f27025a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit f27025a

Please sign in to comment.