summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-03-23 00:42:47 +0000
committerBenny Prijono <bennylp@teluu.com>2007-03-23 00:42:47 +0000
commit05e7998ba4cbd7fb0b02b7f82c5b328cf203fbc9 (patch)
tree1455c2739bef6d65706be32f0ddadcf2d8063f2f /pjnath
parentf8d17a0d196e42dd886bcdd908085c810b3bba8d (diff)
ICE (work in progress): implemented ICE media transport
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1097 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath')
-rw-r--r--pjnath/include/pjnath/errno.h13
-rw-r--r--pjnath/src/pjnath/ice.c1
2 files changed, 12 insertions, 2 deletions
diff --git a/pjnath/include/pjnath/errno.h b/pjnath/include/pjnath/errno.h
index 3a7c591f..9f45bc86 100644
--- a/pjnath/include/pjnath/errno.h
+++ b/pjnath/include/pjnath/errno.h
@@ -163,12 +163,21 @@
* ICE session not available
*/
#define PJ_ENOICE -1
-
- /**
+/**
* @hideinitializer
* ICE check is in progress
*/
#define PJ_EICEINPROGRESS -1
+/**
+ * @hideinitializer
+ * Missing ICE SDP attribute
+ */
+#define PJ_EICEMISSINGSDP -1
+/**
+ * @hideinitializer
+ * Invalid SDP "candidate" attribute
+ */
+#define PJ_EICEINCANDSDP -1
diff --git a/pjnath/src/pjnath/ice.c b/pjnath/src/pjnath/ice.c
index 9fb59238..e21e81f9 100644
--- a/pjnath/src/pjnath/ice.c
+++ b/pjnath/src/pjnath/ice.c
@@ -25,6 +25,7 @@
#include <pj/log.h>
#include <pj/os.h>
#include <pj/pool.h>
+#include <pj/rand.h>
#include <pj/string.h>