| Name | Type | Description | Attributes |
|---|---|---|---|
| id | string | Automatically generated ID for each TURN allocation | Mandatory |
| user | string | The username of the WebRTC client that requested the allocation | Mandatory |
| realm | Realm | The realm used to authenticate the allocation | Mandatory |
| clientAddress | PlcmInetAddress | The WebRTC clients public IP address | |
| relayAddress | PlcmInetAddress | The public IP address for TURN media relay, mapped on the firewall (the External IP Address of NAT) | |
| serverAddress | PlcmInetAddress | The public IP address of either the client that requested the allocation or the peer, depending on the direction of media relay. | |
| age | int | The number of seconds that the allocation has been active | |
| expires | int | The number of seconds remaining until the allocation expires if it is not renewed by the client | |
| receivePackets | int | The number of packets received by this allocation | |
| receiveBytes | int | The number of bytes received by this allocation | |
| receiveRate | int | The receive rate for this allocation measured in bytes per second | |
| sendPackets | int | The number of packets sent by this allocation | |
| sendBytes | int | The number of bytes sent by this allocation | |
| sendRate | int | The send rate for this allocation measured in bytes per second | |
| totalRate | int | The total data rate for this allocation measured in bytes per second |
| Name | Type | Restrictions |
|---|---|---|
| Realm | string | Length of value must be >=1 Length of value must be <=20 |