core/homeassistant/components/voip/const.py

16 lines
247 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,
}
CONF_SIP_PORT = "sip_port"