Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SmartM-ui opened this issue May 10, 2021 · 2 comments
Open

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

SmartM-ui opened this issue May 10, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@SmartM-ui
Copy link

SmartM-ui commented May 10, 2021

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

@Pe-MaKer
Copy link

That would be great.

@AlexxIT AlexxIT added the enhancement New feature or request label Apr 10, 2022
@AlexxIT AlexxIT added this to the v3.0 milestone Jan 2, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 20, 2023

CPU usage should be fixed in v3

@AlexxIT AlexxIT removed this from the v3.0 milestone Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants