Skip to main content
Version: 0.11.x

Interface: OdinConnectionStats

Connection statistics returned by getConnectionStats(). Provides detailed metrics about the underlying UDP connection.

Properties​

congestionEvents​

congestionEvents: number

The number of congestion events that have occurred.

Defined in​

odin.room.d.ts:784


cwnd​

cwnd: number

The current congestion window size in bytes.

Defined in​

odin.room.d.ts:779


rtt​

rtt: number

The current round-trip time (RTT) in milliseconds.

Defined in​

odin.room.d.ts:789


udpRxBytes​

udpRxBytes: number

The total number of bytes received in incoming UDP datagrams.

Defined in​

odin.room.d.ts:769


udpRxDatagrams​

udpRxDatagrams: number

The number of incoming UDP datagrams received.

Defined in​

odin.room.d.ts:764


udpRxLoss​

udpRxLoss: number

The packet loss percentage for incoming UDP datagrams (0.0 to 1.0).

Defined in​

odin.room.d.ts:774


udpTxBytes​

udpTxBytes: number

The total number of bytes sent in outgoing UDP datagrams.

Defined in​

odin.room.d.ts:754


udpTxDatagrams​

udpTxDatagrams: number

The number of outgoing UDP datagrams sent.

Defined in​

odin.room.d.ts:749


udpTxLoss​

udpTxLoss: number

The packet loss percentage for outgoing UDP datagrams (0.0 to 1.0).

Defined in​

odin.room.d.ts:759