Gets the identifier of
the object generating these stats.
Returns string
getIsHost
getIsHost(): boolean
Gets whether the candidate is host/local.
Returns boolean
getIsReflexive
getIsReflexive(): boolean
Gets whether the candidate is reflexive.
Returns boolean
getIsRelayed
getIsRelayed(): boolean
Gets whether the candidate is relayed.
Returns boolean
getPort
getPort(): number
Gets the port.
Returns number
getPriority
getPriority(): number
Gets the priority.
Returns number
getProtocol
getProtocol(): ProtocolType
Gets the protocol.
Returns ProtocolType
getRelatedIPAddress
getRelatedIPAddress(): string
Gets the related IP address.
Returns string
getRelatedPort
getRelatedPort(): number
Gets the related port.
Returns number
getTimestamp
getTimestamp(): DateTime
Gets the timestamp when
these stats were generated.
Returns DateTime
getTurnProtocol
getTurnProtocol(): ProtocolType
Gets the protocol used by this candidate when communicating with a TURN (relay) server. If unknown or not a relayed candidate, defaults to ProtocolType.Unknown.