Versions in this module Expand all Collapse all v1 v1.3.0 Nov 30, 2022 Changes in this version + var DefaultStunServers = []string + func GenerateCLIFlags(existingFlags []cli.Flag) ([]cli.Flag, error) + func GetExternalIP(stunServers []string, localAddr net.Addr) (string, error) + func GetLocalIPAddresses() ([]string, error) + type AudioConfig struct + ActiveLevel uint8 + MinPercentile uint8 + SmoothIntervals uint32 + UpdateInterval uint32 + type CodecSpec struct + FmtpLine string + Mime string + type Config struct + Audio AudioConfig + BindAddresses []string + Development bool + Ingress IngressConfig + KeyFile string + Keys map[string]string + Limit LimitConfig + LogLevel string + Logging LoggingConfig + NodeSelector NodeSelectorConfig + Port uint32 + PrometheusPort uint32 + RTC RTCConfig + Redis RedisConfig + Region string + Room RoomConfig + TURN TURNConfig + Video VideoConfig + WebHook WebHookConfig + func NewConfig(confString string, strictMode bool, c *cli.Context, baseFlags []cli.Flag) (*Config, error) + func (conf *Config) HasRedis() bool + func (conf *Config) IsTURNSEnabled() bool + func (conf *Config) ToCLIFlagNames(existingFlags []cli.Flag) map[string]reflect.Value + func (conf *Config) UseSentinel() bool + type CongestionControlConfig struct + AllowPause bool + Enabled bool + MinChannelCapacity int64 + ProbeMode CongestionControlProbeMode + UseSendSideBWE bool + type CongestionControlProbeMode string + const CongestionControlProbeModeMedia + const CongestionControlProbeModePadding + const StatsUpdateInterval + type IPsConfig struct + Excludes []string + Includes []string + type IngressConfig struct + RTMPBaseURL string + type InterfacesConfig struct + Excludes []string + Includes []string + type LimitConfig struct + BytesPerSec float32 + NumTracks int32 + type LoggingConfig struct + PionLevel string + type NodeSelectorConfig struct + CPULoadLimit float32 + Kind string + Regions []RegionConfig + SortBy string + SysloadLimit float32 + type PLIThrottleConfig struct + HighQuality time.Duration + LowQuality time.Duration + MidQuality time.Duration + type RTCConfig struct + AllowTCPFallback *bool + CongestionControl CongestionControlConfig + ForceTCP bool + ICEPortRangeEnd uint32 + ICEPortRangeStart uint32 + IPs IPsConfig + Interfaces InterfacesConfig + NodeIP string + NodeIPAutoGenerated bool + PLIThrottle PLIThrottleConfig + PacketBufferSize int + STUNServers []string + TCPPort uint32 + TURNServers []TURNServer + UDPPort uint32 + UseExternalIP bool + UseICELite bool + type RedisConfig struct + Address string + DB int + MasterName string + Password string + SentinelAddresses []string + SentinelPassword string + SentinelUsername string + UseTLS bool + Username string + type RegionConfig struct + Lat float64 + Lon float64 + Name string + type RoomConfig struct + AutoCreate bool + EmptyTimeout uint32 + EnableRemoteUnmute bool + EnabledCodecs []CodecSpec + MaxMetadataSize uint32 + MaxParticipants uint32 + type TURNConfig struct + CertFile string + Domain string + Enabled bool + ExternalTLS bool + KeyFile string + RelayPortRangeEnd uint16 + RelayPortRangeStart uint16 + TLSPort int + UDPPort int + type TURNServer struct + Credential string + Host string + Port int + Protocol string + Username string + type VideoConfig struct + DynacastPauseDelay time.Duration + type WebHookConfig struct + APIKey string + URLs []string