Home --> Documentations --> PJNATH Reference

pj_turn_session_info Struct Reference
[TURN client session]

Data Fields

pj_turn_state_t state
pj_status_t last_status
pj_turn_tp_type conn_type
pj_sockaddr server
pj_sockaddr mapped_addr
pj_sockaddr relay_addr
int lifetime

Detailed Description

This structure describes TURN session info.

Field Documentation

Type of connection to the TURN server.

Last error (if session was terminated because of error)

Current seconds before allocation expires.

Mapped address, as reported by the TURN server.

The selected TURN server address.

The documentation for this struct was generated from the following file:


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.