mirror of
https://github.com/home-assistant/core.git
synced 2026-05-26 10:15:33 +01:00
b1d6f3afc0
Co-authored-by: Franck Nijhof <git@frenck.dev>
16 lines
247 B
Python
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"
|