[farsight2/master] Start candidates gather from stream constructed

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


---
 gst/fsrtpconference/fs-rtp-stream.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-stream.c b/gst/fsrtpconference/fs-rtp-stream.c
index 6bbabf5..9e65523 100644
--- a/gst/fsrtpconference/fs-rtp-stream.c
+++ b/gst/fsrtpconference/fs-rtp-stream.c
@@ -396,6 +396,17 @@ fs_rtp_stream_constructed (GObject *object)
       G_CALLBACK (_transmitter_error),
       self);
 
+  if (!fs_stream_transmitter_gather_local_candidates (
+          self->priv->stream_transmitter,
+          &self->priv->construction_error))
+  {
+    if (!self->priv->construction_error)
+      self->priv->construction_error = g_error_new (FS_ERROR,
+          FS_ERROR_INTERNAL,
+          "Unknown error while gathering local candidates");
+    return;
+  }
+
   GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
 }
 
-- 
1.5.6.5




More information about the farsight-commits mailing list