mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
Fix for Camera streams that don't support stream (#6863)
This commit is contained in:
parent
869b7c85ca
commit
b30ee884a7
@ -66,7 +66,7 @@ class HaCameraStream extends LitElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected updated(changedProps: PropertyValues): void {
|
protected updated(changedProps: PropertyValues): void {
|
||||||
if (changedProps.has("stateObj")) {
|
if (changedProps.has("stateObj") && !this._shouldRenderMJPEG) {
|
||||||
this._forceMJPEG = undefined;
|
this._forceMJPEG = undefined;
|
||||||
this._getStreamUrl();
|
this._getStreamUrl();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user