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"` // smoothing for audioLevel values sent to the client. // audioLevel will be an average of `smooth_samples`, 0 to disable SmoothSamples uint32 `yaml:"smooth_samples"` }
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"` Room RoomConfig `yaml:"room"` 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 PLIThrottleConfig ¶ added in v0.9.14
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"` // Throttle periods for pli/fir rtcp packets PLIThrottle PLIThrottleConfig `yaml:"pli_throttle"` }
type RedisConfig ¶
type RoomConfig ¶ added in v0.10.1
Click to show internal directories.
Click to hide internal directories.