|
virtual bool | STUNEnabled () const =0 |
| Gets the use of STUN functionality as described in RFC 3489. More...
|
|
virtual void | STUNEnabled (bool value)=0 |
| Configures the use of STUN functionality as described in RFC 3489. More...
|
|
virtual ZDK::Shared::String | STUNServer () const =0 |
| Gets the configured address of the STUN server. More...
|
|
virtual void | STUNServer (ZDK::Shared::String value)=0 |
| Configures the address of the STUN server. More...
|
|
virtual int | STUNPort () const =0 |
| Gets the configured port of the STUN server. More...
|
|
virtual void | STUNPort (int value)=0 |
| Configures the port of the STUN server. More...
|
|
virtual int | STUNRefresh () const =0 |
| Gets the configured refresh period of the STUN server. More...
|
|
virtual void | STUNRefresh (int value)=0 |
| Configures the refresh period of the STUN server. More...
|
|
virtual bool | IsEqual (ZDK::Shared::StunConfig comp) const =0 |
| Compares the current configuration with the given one. More...
|
|
Public Member Functions inherited from ZDK::IZHandle |
virtual ZDK::ZDKHandle | Handle () const =0 |
|
virtual | operator ZDK::ZDKHandle () const =0 |
|
virtual void | Initialize ()=0 |
|
virtual void | ReleaseReference ()=0 |
|
STUN specific account configuration.
The STUN server allows clients to find out their public address, the type of NAT they are behind and the Internet side port associated by the NAT with a particular local port. This information is used to set up communication between the client and the VoIP provider to establish a call. The STUN protocol is defined in RFC 3489.
STUN servers are usually contacted on UDP port 3478, however the server can hint clients to perform tests on alternate IP and port number too (STUN servers can have multiple IP addresses).