Only show the microphone button when the loaded media supports 2-way audio.
This commit is contained in:
@@ -1471,9 +1471,15 @@ export interface ExtendedHomeAssistant extends HomeAssistant {
|
||||
};
|
||||
}
|
||||
|
||||
export interface MediaLoadedCapabilities {
|
||||
supports2WayAudio?: boolean;
|
||||
}
|
||||
|
||||
export interface MediaLoadedInfo {
|
||||
width: number;
|
||||
height: number;
|
||||
player?: FrigateCardMediaPlayer;
|
||||
capabilities?: MediaLoadedCapabilities;
|
||||
}
|
||||
|
||||
export const MESSAGE_TYPE_PRIORITIES = {
|
||||
|
||||
Reference in New Issue
Block a user