Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""Constants for the Voice over IP integration."""
2
3
DOMAIN =
"voip"
4
5
RATE = 16000
6
WIDTH = 2
7
CHANNELS = 1
8
RTP_AUDIO_SETTINGS = {
9
"rate"
: RATE,
10
"width"
: WIDTH,
11
"channels"
: CHANNELS,
12
"sleep_ratio"
: 0.99,
13
}
14
15
CONF_SIP_PORT =
"sip_port"
core
homeassistant
components
voip
const.py
Generated by
1.9.1