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 component 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 component and a peer while there is an active permission for the peer's IP address.
Refer to the CreatePermission method for more information.
|
TTL Integer |
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.
|