hass-core/homeassistant/components/voip/const.py
Michael Hansen ebabf504da
Play pre-recorded message if pipeline is misconfigured (#91985)
* Play pre-recorded message if pipeline is misconfigured

* Use voip_device
2023-04-24 21:48:40 -05:00

13 lines
219 B
Python

"""Constants for the Voice over IP integration."""
DOMAIN = "voip"
RATE = 16000
WIDTH = 2
CHANNELS = 1
RTP_AUDIO_SETTINGS = {
"rate": RATE,
"width": WIDTH,
"channels": CHANNELS,
"sleep_ratio": 0.99,
}