mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	don't fail on go2rtc stream with no url (#8839)
This commit is contained in:
		
							parent
							
								
									595fa3d111
								
							
						
					
					
						commit
						f27025aef3
					
				@ -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