1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-26 10:15:33 +01:00
Files
core/homeassistant/components/voip/const.py
T
Michael Hansen b1d6f3afc0 Allow configuring SIP port in VoIP (#92210)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-05-01 22:42:27 +02:00

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"