Hi there,
I have no idea is this a right solution or not, but for me it has made a huge improvement. I have FI9900P cameras and with stream component I have had many problems; all kind of errors in logs and also my processor usage has acted quite wild. Stream has “kind of” worked with ha and also casting using google cast to different devices.
What I did then? I tested different ports and realized when changing in camera settings the http-port to 554 and in integration I use that for both ports -> no errors and processor usage is “steady” … Using 88 for both ports did not do the trick for me? (It also seems the integration “kind of” works using “what ever” port you have in your camera settings in http-port, with errors etc.)
My “two cents” for this issue.
Processor usage from 88 to 554 below.