TURNPermission Type

A TURN permission.

Remarks

This type represents a TURN permission.

Fields

AutoRefresh
boolean

Whether the permission should be refreshed automatically.

This field specifies whether the class should automatically refresh the permission to keep it from expiring.

PeerIP
String

The IP address associated with the permission.

This field reflects the IP address associated with the permission. TURN servers will only forward traffic between the class and a peer while there is an active permission for the peer's IP address.

Refer to the CreatePermission method for more information.

TTL
int

The number of seconds remaining until the permission expires.

This field reflects the number of seconds remaining until the permission expires. There are two ways a permission can be refreshed:

  • Explicitly, by calling the CreatePermission method again with the same Address value.
  • Implicitly, when a channel for the same Address is created or refreshed using the CreateChannel method.
Refer to the aforementioned methods for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks P2P 2020 Java Edition - Version 20.0 [Build 8235]