WebRTC icon indicating copy to clipboard operation
WebRTC copied to clipboard

FEATURE REQUEST: Set card size before stream starts

Open kantlivelong opened this issue 3 years ago • 2 comments

Currently if you have multiple WebRTC cards configured in a single dashboard with auto-play an accordion effect will occur as streams load and size is determined.

Would it be possible to set the card size to what the stream will be or perhaps has been in the past? That way each card is the expected size before a stream loads.

kantlivelong avatar Feb 10 '23 04:02 kantlivelong

Shawn, thank you for your post, let me put in a word from my side. I would be obliged if a "put in full-screen" option can be added to the card-window size feature request above. I've been looking for various workarounds including browser-mod but they all are not very relevant. Full-screen mode can be very helpful for a wall-panel setups including doorbell triggers. Now there is a "full-screen" button in the webrtc mode, but I have no idea how to make it as an action from trigger.

banditto9 avatar Feb 14 '23 12:02 banditto9

You can try to set minimum height with style setting. This card already has default size: https://github.com/AlexxIT/WebRTC/blob/6245bb5c75a4bb6c26d89e7641618f37fd5df273/custom_components/webrtc/www/webrtc-camera.js#L44-L49

AlexxIT avatar Feb 16 '23 13:02 AlexxIT