MongooseICE v0.4.0 MongooseICE View Source

STUN/TURN servers

MongooseICE allows you to start multiple listeners (later called “servers”) which react to STUN/TURN messages. The only difference between the servers is a transport protocol and interface/port pair which a server uses for listening to STUN packets.

Each server is independent, i.e. if one of them crashes the other one should not be affected (note: this applies when starting servers using the recommended method - via application’s configuration. If you hook up a server to your supervision tree the behaviour will depend on a server’s supervisor configuration).

Currently only UDP transport is supported. Read more about it in the documentation of MongooseICE.UDP.

Global configuration

The only parameter configured globally is a shared secret used for TURN authentication:

config :mongooseice, secret: "my_secret"

Currently it is not possible to configure it per listening TURN port.

Link to this section Summary

Link to this section Types

Link to this type address() View Source
address() :: {ip, portn}
Link to this type ip() View Source
ip() :: :inet.ip_address
Link to this type portn() View Source
portn() :: :inet.port_number