518 B
518 B
Server-Konfiguration
Dateien
appsettings.example.json: Vorlage mitbindAdresse.appsettings.json: Produktiveinstellung (wird beim Start geladen).
Struktur
Config {
server: ServerOptions {
bind: String,
}
}
Defaults (siehe constants.rs)
DEFAULT_BIND = "127.0.0.1:3478"DEFAULT_HOST_URL = "http://localhost:3478"
TODOs
- Unterschiedliche Ports für HTTP vs WS (derzeit identisch).
- TLS-/WSS-Unterstützung.
- Konfigurierbare Allowed Origins, TURN Secrets.