WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

Start streaming video on the card only through a "play" button

Open SmartM-ui opened this issue 3 years ago • 1 comments

Hi Alex, would it be possible to start streaming video on the card only through a "play" button?

I noticed that when the camera is off (I only turn it on when I am away from home), and I view the card on Home Assistant, WebRTC always tries to view the video and tries to reconnect continuously to the webcam, increasing the CPU usage and consumption.

Even when I close Home Assistant, however, the CPU load remains high compared to when I don't see the WebRTC card.

I believe that to solve, in addition to the play button on the card, it is necessary to act at the integration level, as if it were momentarily deactivated. In fact, by deactivating it, the CPU load and consumption returns to "normal".

For info, I report that the ONVIF integration, when the webcam is off, the CPU load and consumption do not increase.

Thank you

SmartM-ui avatar May 10 '21 07:05 SmartM-ui

That would be great.

Pe-MaKer avatar May 19 '21 09:05 Pe-MaKer

CPU usage should be fixed in v3

AlexxIT avatar Jan 20 '23 18:01 AlexxIT