[farsight2/master] Add RTCP source/sinks to transmitter

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


---
 gst-libs/gst/farsight/fs-transmitter.c |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-transmitter.c b/gst-libs/gst/farsight/fs-transmitter.c
index 785b221..ff0d0fc 100644
--- a/gst-libs/gst/farsight/fs-transmitter.c
+++ b/gst-libs/gst/farsight/fs-transmitter.c
@@ -55,7 +55,9 @@ enum
 {
   PROP_0,
   PROP_GST_SINK,
-  PROP_GST_SRC
+  PROP_GST_RTCP_SINK,
+  PROP_GST_SRC,
+  PROP_GST_RTCP_SRC
 };
 
 struct _FsTransmitterPrivate
@@ -136,6 +138,20 @@ fs_transmitter_class_init (FsTransmitterClass *klass)
         G_PARAM_READABLE));
 
   /**
+   * FsTransmitter:gst-rtcp-src:
+   *
+   * A network source #GstElement to be used by the #FsSession for RTCP messages
+   *
+   */
+  g_object_class_install_property (gobject_class,
+      PROP_GST_RTCP_SRC,
+      g_param_spec_object ("gst-rtcp-src",
+        "The network source",
+        "A source GstElement to be used by a FsSession for RTCP messages",
+        GST_TYPE_ELEMENT,
+        G_PARAM_READABLE));
+
+  /**
    * FsTransmitter:gst-sink:
    *
    * A network source #GstElement to be used by the #FsSession
@@ -149,6 +165,19 @@ fs_transmitter_class_init (FsTransmitterClass *klass)
         GST_TYPE_ELEMENT,
         G_PARAM_READABLE));
 
+  /**
+   * FsTransmitter:gst-rtcp-sink:
+   *
+   * A network source #GstElement to be used by the #FsSession
+   *
+   */
+  g_object_class_install_property (gobject_class,
+      PROP_GST_RTCP_SINK,
+      g_param_spec_object ("gst-rtcp-sink",
+        "The network source",
+        "A source GstElement to be used by a FsSession",
+        GST_TYPE_ELEMENT,
+        G_PARAM_READABLE));
 
 
   /**
-- 
1.5.6.5




More information about the farsight-commits mailing list