Address build type issue.
This commit is contained in:
@@ -322,7 +322,7 @@ export class FrigateCard extends LitElement {
|
|||||||
|
|
||||||
if (config.live_provider == 'webrtc') {
|
if (config.live_provider == 'webrtc') {
|
||||||
// Create a WebRTC element (https://github.com/AlexxIT/WebRTC)
|
// Create a WebRTC element (https://github.com/AlexxIT/WebRTC)
|
||||||
const webrtcElement = customElements.get('webrtc-camera');
|
const webrtcElement = customElements.get('webrtc-camera') as any;
|
||||||
if (webrtcElement) {
|
if (webrtcElement) {
|
||||||
const webrtc = new webrtcElement();
|
const webrtc = new webrtcElement();
|
||||||
webrtc.setConfig(config.webrtc || {});
|
webrtc.setConfig(config.webrtc || {});
|
||||||
|
|||||||
Reference in New Issue
Block a user