[farsight2/master] Add prefered-local-candidates property to the FsStreamTransmitter

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


---
 gst-libs/gst/farsight/fs-stream-transmitter.c |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-stream-transmitter.c b/gst-libs/gst/farsight/fs-stream-transmitter.c
index 493060e..99e724e 100644
--- a/gst-libs/gst/farsight/fs-stream-transmitter.c
+++ b/gst-libs/gst/farsight/fs-stream-transmitter.c
@@ -58,6 +58,7 @@ enum
 {
   PROP_0,
   PROP_SENDING,
+  PROP_PREFERED_LOCAL_CANDIDATES
 };
 
 struct _FsStreamTransmitterPrivate
@@ -139,6 +140,22 @@ fs_stream_transmitter_class_init (FsStreamTransmitterClass *klass)
         G_PARAM_READWRITE));
 
   /**
+   * FsStreamTransmitter:prefered-local-candidate:
+   *
+   * The list of prefered local candidates for this stream
+   * It is a #GList of #FsCandidates
+   *
+   */
+  g_object_class_install_property (gobject_class,
+      PROP_PREFERED_LOCAL_CANDIDATES,
+      g_param_spec_boxed ("prefered-local-candidates",
+        "The prefered candidates",
+        "A GList of FsCandidates",
+        FS_TYPE_CANDIDATE_LIST,
+        G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+
+
+  /**
    * FsStreamTransmitter::error:
    * @self: #FsStreamTransmitter that emitted the signal
    * @errorno: The number of the error
-- 
1.5.6.5




More information about the farsight-commits mailing list