summaryrefslogtreecommitdiff
path: root/pjnath
diff options
context:
space:
mode:
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>