Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.voip.const Namespace Reference

Variables

int CHANNELS = 1
 
string CONF_SIP_PORT = "sip_port"
 
string DOMAIN = "voip"
 
int RATE = 16000
 
dictionary RTP_AUDIO_SETTINGS
 
int WIDTH = 2
 

Detailed Description

Constants for the Voice over IP integration.

Variable Documentation

◆ CHANNELS

int homeassistant.components.voip.const.CHANNELS = 1

Definition at line 7 of file const.py.

◆ CONF_SIP_PORT

string homeassistant.components.voip.const.CONF_SIP_PORT = "sip_port"

Definition at line 15 of file const.py.

◆ DOMAIN

string homeassistant.components.voip.const.DOMAIN = "voip"

Definition at line 3 of file const.py.

◆ RATE

int homeassistant.components.voip.const.RATE = 16000

Definition at line 5 of file const.py.

◆ RTP_AUDIO_SETTINGS

dictionary homeassistant.components.voip.const.RTP_AUDIO_SETTINGS
Initial value:
1 = {
2  "rate": RATE,
3  "width": WIDTH,
4  "channels": CHANNELS,
5  "sleep_ratio": 0.99,
6 }

Definition at line 8 of file const.py.

◆ WIDTH

int homeassistant.components.voip.const.WIDTH = 2

Definition at line 6 of file const.py.