mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Only show webrtc if it has video (#22659)
This commit is contained in:
parent
efe90fcc55
commit
2f974078e0
@ -102,7 +102,9 @@ export class HaCameraStream extends LitElement {
|
||||
.entityid=${this.stateObj.entity_id}
|
||||
.posterUrl=${this._posterUrl}
|
||||
@streams=${this._handleHlsStreams}
|
||||
class=${!this._streamType && this._webRtcStreams ? "hidden" : ""}
|
||||
class=${!this._streamType && this._webRtcStreams?.hasVideo
|
||||
? "hidden"
|
||||
: ""}
|
||||
></ha-hls-player>`
|
||||
: nothing}
|
||||
${this._streamType === STREAM_TYPE_WEB_RTC ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user