[farsight2/master] Add constants to define the components ids 1 and 2 as RTP/RTCP as in ICE-19

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:19:27 PST 2008


---
 gst-libs/gst/farsight/fs-candidate.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-candidate.h b/gst-libs/gst/farsight/fs-candidate.h
index c0fac56..1ced7d2 100644
--- a/gst-libs/gst/farsight/fs-candidate.h
+++ b/gst-libs/gst/farsight/fs-candidate.h
@@ -67,6 +67,13 @@ typedef enum
   FS_NETWORK_PROTOCOL_TCP
 } FsNetworkProtocol;
 
+/*
+ * These are defined in the ICE-19 draft
+ */
+
+#define FS_COMPONENT_RTP        (1)
+#define FS_COMPONENT_RTCP       (2)
+
 typedef struct _FsCandidate FsCandidate;
 
 /**
-- 
1.5.6.5




More information about the farsight-commits mailing list