Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CustomSTUNandTURNConfig

Allows a user to override the default (or server-provided) STUN and TURN configuration that is offered by the client. Note that if a custom stun and turn configuration is used, all of its values must be provided! (Setting these values does not have any effect on what the server offers for its stun and turn configuration; however, the servers are generally expected to be configured so as to be easily reachable without the need for TURN or through the use of the standard TURN servers.)

Hierarchy

  • CustomSTUNandTURNConfig

Index

Properties

stunUrls

stunUrls: string[]

A list of STUN server URLs to use. This should be a list of strings, each of which is in the format "stun:x.y.z" or "stun:x.y.z:port". For instance:

[ "stun:foo.bar.com:19302", "stun:bar.baz.com" ]

turnCredential

turnCredential: string

A TURN credential (password) to use when connecting to the specified TURN server(s).

turnUrls

turnUrls: string[]

A list of TURN server URLs to use. This should be a list of strings, each of which is in the format "turn:x.y.z" or "turn:x.y.z:port". For instance:

[ "turn:foo.bar.com:3478", "turn:bar.baz.com" ]

turnUsername

turnUsername: string

A TURN username to use when connecting to the specified TURN server(s).