odin_room_get_connection_stats
enum OdinError odin_room_get_connection_stats(struct OdinRoom *room,
struct OdinConnectionStats *out_stats);
Overview
Retrieves detailed connection statistics for the specified room, filling the provided structure with data such as the number of transmitted/received datagrams, bytes, packet loss percentage, congestion window information and round-trip time.
Parameters
| Name | Type | Description |
|---|
room | struct OdinRoom * | The room handle. |
out_stats | struct OdinConnectionStats * | Pointer to the structure to receive statistics. |
Return Value
| Type | Description |
|---|
OdinError | ODIN_ERROR_SUCCESS on success. |