Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioConfig ¶
type AudioConfig struct { // minimum level to be considered active, 0-127, where 0 is loudest ActiveLevel uint8 `yaml:"active_level"` // percentile to measure, a participant is considered active if it has exceeded the ActiveLevel more than // MinPercentile% of the time MinPercentile uint8 `yaml:"min_percentile"` // interval to update clients, in ms UpdateInterval uint32 `yaml:"update_interval"` }
func GetAudioConfig ¶
func GetAudioConfig(conf *Config) AudioConfig
type Config ¶
type Config struct { Port uint32 `yaml:"port"` PrometheusPort uint32 `yaml:"prometheus_port"` RTC RTCConfig `yaml:"rtc"` Redis RedisConfig `yaml:"redis"` Audio AudioConfig `yaml:"audio"` TURN TURNConfig `yaml:"turn"` KeyFile string `yaml:"key_file"` Keys map[string]string `yaml:"keys"` LogLevel string `yaml:"log_level"` Development bool `yaml:"development"` }
func (*Config) UpdateFromCLI ¶
type RTCConfig ¶
type RTCConfig struct { UDPPort uint32 `yaml:"udp_port"` TCPPort uint32 `yaml:"tcp_port"` ICEPortRangeStart uint32 `yaml:"port_range_start"` ICEPortRangeEnd uint32 `yaml:"port_range_end"` // for testing, disable UDP ForceTCP bool `yaml:"force_tcp"` StunServers []string `yaml:"stun_servers"` UseExternalIP bool `yaml:"use_external_ip"` // Number of packets to buffer for NACK PacketBufferSize int `yaml:"packet_buffer_size"` // Max bitrate for REMB MaxBitrate uint64 `yaml:"max_bitrate"` }
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.