fix: Correctly bind MJPEG stream URL in the ha live provider (#2305) (#2600)

- Closes: #2305
This commit is contained in:
Dermot Duffy
2026-07-22 22:00:47 -07:00
committed by GitHub
parent 448fa2d9f1
commit cd53ebd3c8
+1 -1
View File
@@ -194,7 +194,7 @@ void customElements.whenDefined('ha-camera-stream').then(() => {
@advanced-camera-card:media:loaded=${(
ev: CustomEvent<MediaLoadedInfoEventDetail>,
) => this._captureInnerLoad(STREAM_TYPE_MJPEG, ev)}
src=${typeof this._connected == 'undefined' || this._connected
url=${typeof this._connected == 'undefined' || this._connected
? computeMJPEGStreamUrl(this.stateObj)
: this._posterUrl || ''}
technology="mjpeg"