niom-signaling/docs/config/server_config.md

518 B

Server-Konfiguration

Dateien

  • appsettings.example.json: Vorlage mit bind Adresse.
  • 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.