From 1367418070dbdf0f78e78c988eca83b86b070b90 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Wed, 9 Mar 2016 22:23:24 +0100 Subject: [PATCH] call-stream: implement finish_initial_candidates method --- src/call-stream.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/call-stream.c b/src/call-stream.c index 44c2b0f..236f662 100644 --- a/src/call-stream.c +++ b/src/call-stream.c @@ -44,6 +44,9 @@ static gboolean gabble_call_stream_set_sending (TpBaseMediaCallStream *stream, GError **error); static void gabble_call_stream_request_receiving (TpBaseMediaCallStream *stream, TpHandle contact, gboolean receive); +static gboolean gabble_call_stream_finish_initial_candidates ( + TpBaseMediaCallStream *stream, + GError **error); G_DEFINE_TYPE(GabbleCallStream, gabble_call_stream, TP_TYPE_BASE_MEDIA_CALL_STREAM) @@ -469,6 +472,8 @@ gabble_call_stream_class_init (GabbleCallStreamClass *gabble_call_stream_class) bmcs_class->add_local_candidates = gabble_call_stream_add_candidates; bmcs_class->set_sending = gabble_call_stream_set_sending; bmcs_class->request_receiving = gabble_call_stream_request_receiving; + bmcs_class->finish_initial_candidates = + gabble_call_stream_finish_initial_candidates; } void @@ -616,3 +621,14 @@ gabble_call_stream_get_jingle_content (GabbleCallStream *stream) { return stream->priv->content; } + +static gboolean +gabble_call_stream_finish_initial_candidates (TpBaseMediaCallStream *stream, + GError **error) +{ + GabbleCallStream *self = GABBLE_CALL_STREAM (stream); + + wocky_jingle_content_finish_initial_candidates (self->priv->content); + + return TRUE; +} -- 2.5.0