Do not use the egress version stored in redis to decide whether to enable PsRPC. Use a conf entry instead (#1262)

This commit is contained in:
Benjamin Pracht
2022-12-30 09:32:55 +13:00
committed by GitHub
parent 1cffa98311
commit 7778cdf2cd
7 changed files with 59 additions and 55 deletions
+5
View File
@@ -52,6 +52,7 @@ type Config struct {
Video VideoConfig `yaml:"video,omitempty"`
Room RoomConfig `yaml:"room,omitempty"`
TURN TURNConfig `yaml:"turn,omitempty"`
Egress EgressConfig `yaml:"egress,omitempty"`
Ingress IngressConfig `yaml:"ingress,omitempty"`
WebHook WebHookConfig `yaml:"webhook,omitempty"`
NodeSelector NodeSelectorConfig `yaml:"node_selector,omitempty"`
@@ -234,6 +235,10 @@ type LimitConfig struct {
BytesPerSec float32 `yaml:"bytes_per_sec"`
}
type EgressConfig struct {
UsePsRPC bool `yaml:"use_psrpc"`
}
type IngressConfig struct {
RTMPBaseURL string `yaml:"rtmp_base_url"`
}