chore: update version to 0.112.6 and add Secure field to yamlTURNServer struct

This commit is contained in:
anonpenguin23 2026-02-24 08:17:43 +02:00
parent 7227e5ceb9
commit 1882876922
2 changed files with 7 additions and 5 deletions

View File

@ -63,7 +63,7 @@ test-e2e-quick:
.PHONY: build clean test deps tidy fmt vet lint install-hooks upload-devnet upload-testnet redeploy-devnet redeploy-testnet release health .PHONY: build clean test deps tidy fmt vet lint install-hooks upload-devnet upload-testnet redeploy-devnet redeploy-testnet release health
VERSION := 0.112.5 VERSION := 0.112.6
COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown) COMMIT ?= $(shell git rev-parse --short HEAD 2>/dev/null || echo unknown)
DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ) DATE ?= $(shell date -u +%Y-%m-%dT%H:%M:%SZ)
LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)' LDFLAGS := -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)' -X 'main.date=$(DATE)'

View File

@ -46,8 +46,9 @@ func parseSFUConfig(logger *logging.ColoredLogger) *sfu.Config {
} }
type yamlTURNServer struct { type yamlTURNServer struct {
Host string `yaml:"host"` Host string `yaml:"host"`
Port int `yaml:"port"` Port int `yaml:"port"`
Secure bool `yaml:"secure"`
} }
type yamlCfg struct { type yamlCfg struct {
@ -79,8 +80,9 @@ func parseSFUConfig(logger *logging.ColoredLogger) *sfu.Config {
var turnServers []sfu.TURNServerConfig var turnServers []sfu.TURNServerConfig
for _, ts := range y.TURNServers { for _, ts := range y.TURNServers {
turnServers = append(turnServers, sfu.TURNServerConfig{ turnServers = append(turnServers, sfu.TURNServerConfig{
Host: ts.Host, Host: ts.Host,
Port: ts.Port, Port: ts.Port,
Secure: ts.Secure,
}) })
} }