[Telepathy-commits] [telepathy-glib/master] ExampleCallableMediaChannel: emit stream-added for requested streams

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Mar 13 07:05:03 PDT 2009


---
 examples/cm/callable/media-channel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/examples/cm/callable/media-channel.c b/examples/cm/callable/media-channel.c
index 2b63a36..e8351d6 100644
--- a/examples/cm/callable/media-channel.c
+++ b/examples/cm/callable/media-channel.c
@@ -924,6 +924,9 @@ media_request_streams (TpSvcChannelTypeStreamedMedia *iface,
 
       g_hash_table_insert (self->priv->streams, GUINT_TO_POINTER (id), stream);
 
+      tp_svc_channel_type_streamed_media_emit_stream_added (self, id,
+          self->priv->handle, media_type);
+
       g_signal_connect (stream, "removed", G_CALLBACK (stream_removed_cb),
           self);
       g_signal_connect (stream, "direction-changed",
-- 
1.5.6.5




More information about the telepathy-commits mailing list