MyNixOS website logo
option

services.turn-rs.settings

Turn-rs server config file.

Declarations
Type
TOML value
Default
{ }
Example
{
  auth = {
    static_credentials = {
      user1 = "test";
      user2 = "test";
    };
  };
  turn = {
    interfaces = [
      {
        bind = "127.0.0.1:3478";
        external = "127.0.0.1:3478";
        transport = "udp";
      }
      {
        bind = "127.0.0.1:3478";
        external = "127.0.0.1:3478";
        transport = "tcp";
      }
    ];
    realm = "localhost";
  };
}