Add editor support for go2rtc modes.
This commit is contained in:
1 parent
f5ce02fe4a
commit
d446716b7b
5 files changed
+47
-1
No files matched your search
@@ -115,7 +115,9 @@ export class FrigateCardGo2RTC extends LitElement {
|
||||
this._player.src = address;
|
||||
this._player.visibilityCheck = false;
|
||||
this._player.background = true;
|
||||
this._player.mode = 'webrtc';
|
||||
if (this.cameraConfig?.go2rtc?.modes) {
|
||||
this._player.mode = this.cameraConfig.go2rtc.modes.join(',');
|
||||
}
|
||||
|
||||
this.requestUpdate();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user