Show both hls and webrtc streams

This commit is contained in:
Bram Kragten 2024-11-04 14:03:47 +01:00
parent 5247b74fd4
commit 3e227ba01b

View File

@ -209,6 +209,12 @@ export class HaCameraStream extends LitElement {
}
return [{ type: supportedTypes[0], visible: true }];
}
return [
{ type: STREAM_TYPE_HLS, visible: true },
{ type: STREAM_TYPE_WEB_RTC, visible: true },
];
if (hlsStreams && webRtcStreams) {
// fully loaded
if (
@ -266,10 +272,6 @@ export class HaCameraStream extends LitElement {
img {
width: 100%;
}
.hidden {
display: none;
}
`;
}
}