Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureConfig ¶
type CPUCostConfig ¶ added in v1.0.4
type Config ¶
type Config struct {
Redis *redis.RedisConfig `yaml:"redis"` // required
ApiKey string `yaml:"api_key"` // required (env LIVEKIT_API_KEY)
ApiSecret string `yaml:"api_secret"` // required (env LIVEKIT_API_SECRET)
WsUrl string `yaml:"ws_url"` // required (env LIVEKIT_WS_URL)
HealthPort int `yaml:"health_port"`
PrometheusPort int `yaml:"prometheus_port"`
LogLevel string `yaml:"log_level"`
TemplateBase string `yaml:"template_base"`
Insecure bool `yaml:"insecure"`
LocalOutputDirectory string `yaml:"local_directory"` // used for temporary storage before upload
S3 *S3Config `yaml:"s3"`
Azure *AzureConfig `yaml:"azure"`
GCP *GCPConfig `yaml:"gcp"`
// CPU costs for various egress types
CPUCost CPUCostConfig `yaml:"cpu_cost"`
SessionLimits `yaml:"session_limits"`
// internal
NodeID string `yaml:"-"`
FileUpload interface{} `yaml:"-"` // one of S3, Azure, or GCP
}
Click to show internal directories.
Click to hide internal directories.