diff options
author | Kai Vehmanen <first.surname@nokia.com> | 2007-06-19 08:06:00 +0000 |
---|---|---|
committer | Kai Vehmanen <first.surname@nokia.com> | 2007-06-19 08:06:00 +0000 |
commit | 181d9d56df9332544f72a856e51cff62f45a15ad (patch) | |
tree | 3d42a16ed0bd2ec9f98eac0645494110e1852adf /agent/agent-priv.h | |
parent | 99ff130b9bc44c75a30ee60078d1548d61f99270 (diff) | |
download | libnice-181d9d56df9332544f72a856e51cff62f45a15ad.tar.gz |
Major NICE agent update. Added supprt for peer-reflexive candidates, media keepalives, candidate keepalives, role conflict tie-breaking functionality, and for triggered checks. Added NICEAPI_EXPORT attributes to public functions. Includes numerous bugfixes to existing functionality.
darcs-hash:20070619080609-77cd4-d18bf44fe48a201e59556ae5a9dff2b5a2e7e073.gz
Diffstat (limited to 'agent/agent-priv.h')
-rw-r--r-- | agent/agent-priv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/agent/agent-priv.h b/agent/agent-priv.h index 63b88be..2ebdde8 100644 --- a/agent/agent-priv.h +++ b/agent/agent-priv.h @@ -49,6 +49,7 @@ #include "stream.h" #include "conncheck.h" +/** As specified in ICE spec ID-15 */ #define NICE_AGENT_TIMER_TA_DEFAULT 20 /* timer Ta, msecs */ #define NICE_AGENT_TIMER_TR_DEFAULT 15000 /* timer Tr, msecs */ @@ -59,6 +60,7 @@ struct _NiceAgent { GObject parent; /**< gobject pointer */ + gboolean full_mode; /**< property: full-mode */ NiceUDPSocketFactory *socket_factory; /**< property: socket factory */ GTimeVal next_check_tv; /**< property: next conncheck timestamp */ @@ -67,6 +69,8 @@ struct _NiceAgent gchar *turn_server_ip; /**< property: TURN server IP */ guint turn_server_port; /**< property: TURN server port */ gboolean controlling_mode; /**< property: controlling-mode */ + guint timer_ta; /**< property: timer Ta */ + GSList *local_addresses; /**< list of NiceAddresses for local interfaces */ GSList *streams; /**< list of Stream objects */ @@ -83,6 +87,10 @@ struct _NiceAgent GSList *conncheck_list; /**< list of CandidatePair items */ guint conncheck_timer_id; /**< id of discovery timer */ NiceCheckListState conncheck_state; /**< checklist state */ + guint keepalive_timer_id; /**< id of keepalive timer */ + guint64 tie_breaker; /**< tie breaker (ICE ID-16 sect + 5.2) */ + gchar ufragtmp[NICE_STREAM_MAX_UNAME]; /**< preallocated buffer for uname processing */ /* XXX: add pointer to internal data struct for ABI-safe extensions */ }; @@ -115,6 +123,8 @@ void agent_signal_new_candidate ( NiceAgent *agent, NiceCandidate *candidate); +void agent_signal_new_remote_candidate (NiceAgent *agent, NiceCandidate *candidate); + void agent_signal_initial_binding_request_received (NiceAgent *agent, Stream *stream); void agent_free_discovery_candidate_udp (gpointer data, gpointer user_data); |