AlexxIT / WebRTC

Home Assistant custom component for real-time viewing of almost any camera stream using WebRTC and other technologies.
https://github.com/AlexxIT/Blog
MIT License
1.46k stars 173 forks source link

Muted streams still create audio stream in Lovelace card, preventing PC from sleeping #398

Open reidprichard opened 1 year ago

reidprichard commented 1 year ago

I have a dashboard with several webrtc-camera cards, each with the parameter "muted: true". On the dashboard, the card shows an icon indicating that they are muted, and no sound plays. However, whenever the tab is active in Firefox, running powercfg -requests shows that an audio stream is keeping the PC awake. Muting the Firefox tab has no effect, so it's possible this is an issue with FF rather than WebRTC?

AlexxIT commented 1 year ago

Are you sure it's an audio problem? Maybe the problem is with the video

reidprichard commented 1 year ago

Sorry, Home Assistant server went down and I've had to rebuild it before doing anything here.

What do you mean?