diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-03-05 18:55:53 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-03-05 18:55:53 +0800 |
commit | 7beb6752290fca01e311585c59e3f703b95af25e (patch) | |
tree | 0c18e72b6858e03d181af1a34bdeecf46228723a /libempathy | |
parent | 9c76a73a93e9a5e57edb48e734d5163bfb6a5953 (diff) | |
download | gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar.gz gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar.bz2 gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar.lz gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar.xz gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.tar.zst gsoc2013-empathy-7beb6752290fca01e311585c59e3f703b95af25e.zip |
Fix call when then stream is created with a 'Bidirectional' direction (Alban Crequy).
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@700 4ee84921-47dd-4033-b63a-18d7a039a3e4
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-call.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-call.c b/libempathy/empathy-tp-call.c index ec8f34757..d8cb37331 100644 --- a/libempathy/empathy-tp-call.c +++ b/libempathy/empathy-tp-call.c @@ -105,6 +105,19 @@ tp_call_stream_state_changed_cb (DBusGProxy *channel, else if (stream_id == priv->video->id) { priv->video->state = stream_state; + if (stream_state == TP_MEDIA_STREAM_STATE_CONNECTED) + { + if (priv->video->direction & TP_MEDIA_STREAM_DIRECTION_RECEIVE) + { + empathy_debug (DEBUG_DOMAIN, "RECEIVING"); + g_signal_emit_by_name (call, "receiving-video", TRUE); + } + if (priv->video->direction & TP_MEDIA_STREAM_DIRECTION_SEND) + { + empathy_debug (DEBUG_DOMAIN, "SENDING"); + g_signal_emit_by_name (call, "sending-video", TRUE); + } + } } g_signal_emit_by_name (call, "status-changed"); |