Only show the microphone button when the loaded media supports 2-way audio.
This commit is contained in:
@@ -185,7 +185,7 @@ export class FrigateCardLiveWebRTCCard
|
||||
onloadeddata.call(video, e);
|
||||
}
|
||||
hideMediaControlsTemporarily(video, MEDIA_LOAD_CONTROLS_HIDE_SECONDS);
|
||||
dispatchMediaLoadedEvent(this, video);
|
||||
dispatchMediaLoadedEvent(this, video, { player: this });
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user