summaryrefslogtreecommitdiff
path: root/src/echo-call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/echo-call.c')
-rw-r--r--src/echo-call.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/echo-call.c b/src/echo-call.c
index dc50b78..29e6657 100644
--- a/src/echo-call.c
+++ b/src/echo-call.c
@@ -44,6 +44,7 @@ typedef struct {
GstElement *video_src;
EciObjectSkeleton *call_object;
EciCallInfo *call_info;
+ gboolean hardware;
} ChannelContext;
GMainLoop *loop;
@@ -516,7 +517,10 @@ new_call_channel_cb (TpSimpleHandler *handler,
context->buswatch = gst_bus_add_watch (bus, bus_watch_cb, context);
g_object_unref (bus);
- tf_channel_new_async (TP_CHANNEL (call), new_tf_channel_cb, context);
+ context->hardware = tp_call_channel_has_hardware_streaming (call);
+
+ if (!context->hardware)
+ tf_channel_new_async (TP_CHANNEL (call), new_tf_channel_cb, context);
tp_handle_channels_context_accept (handler_context);