1.7 KiB
1.7 KiB
2-way Audio
This card supports 2-way audio (e.g. transmitting audio from a microphone to a suitably equipped camera). In general, due to the myriad of different cameras, security requirements and browser limitations getting 2-way to work may be challenging.
Requirements
Environmental requirements
- Must have a camera that supports audio out (otherwise what's the point!)
- Camera must be supported by
go2rtcfor 2-way audio (see supported cameras). - Must be accessing your Home Assistant instance over
https. The browser will enforce this.
Card requirements
- Only Frigate cameras are supported.
- Only the
go2rtclive provider is supported. - Only the
webrtcmode supports 2-way audio: - Must have microphone menu button enabled:
Example configuration
type: custom:frigate-card
cameras:
- camera_entity: camera.office
live_provider: go2rtc
go2rtc:
modes:
- webrtc
menu:
buttons:
microphone:
enabled: true
Usage
- The camera will always load without the microphone connected, unless the
always_connectedmicrophone option is set totrue. - To speak, hold-down the microphone menu button.
- On first press, this will reset the
webrtcconnection to include 2-way audio unlessalways_connectedhas been used. - Thereafter hold the microphone button down to unmute/speak, let go to mute.
- On first press, this will reset the
- The video will automatically reset to remove the microphone after the number
of seconds specified by
disconnect_secondsconfiguration have elapsed since the last mute/unmute press.