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/candidate.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/candidate.h')
-rw-r--r-- | agent/candidate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/agent/candidate.h b/agent/candidate.h index ac5c21e..c939d77 100644 --- a/agent/candidate.h +++ b/agent/candidate.h @@ -48,6 +48,8 @@ G_BEGIN_DECLS #define NICE_CANDIDATE_TYPE_PREF_SERVER_REFLEXIVE 100 #define NICE_CANDIDATE_TYPE_PREF_RELAYED 60 +#define NICE_CANDIDATE_MAX_FOUNDATION 16 + typedef enum { NICE_CANDIDATE_TYPE_HOST, @@ -72,11 +74,10 @@ struct _NiceCandidate guint32 priority; guint stream_id; guint component_id; - gchar *foundation; - NiceUDPSocket *sockptr; /* XXX: to replace 'sock', see comment above */ + gchar foundation[NICE_CANDIDATE_MAX_FOUNDATION]; + NiceUDPSocket *sockptr; gchar *username; /* pointer to a NULL-terminated username string */ gchar *password; /* pointer to a NULL-terminated password string */ - GSource *source; }; |