26
26
<link linkend="EmpathyTpCall-struct">EmpathyTpCall</link>;
27
27
enum <link linkend="EmpathyTpCallStatus">EmpathyTpCallStatus</link>;
28
<link linkend="EmpathyTpCall">EmpathyTpCall</link>* <link linkend="empathy-tp-call-new">empathy_tp_call_new</link> (<link linkend="McAccount">McAccount</link> *account,
29
<link linkend="TpChan">TpChan</link> *tp_chan);
30
<link linkend="gboolean">gboolean</link> <link linkend="empathy-tp-call-is-incoming">empathy_tp_call_is_incoming</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
31
<link linkend="EmpathyTpCallStatus">EmpathyTpCallStatus</link> <link linkend="empathy-tp-call-get-status">empathy_tp_call_get_status</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
32
<link linkend="EmpathyContact">EmpathyContact</link>* <link linkend="empathy-tp-call-get-contact">empathy_tp_call_get_contact</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
33
<link linkend="void">void</link> <link linkend="empathy-tp-call-accept">empathy_tp_call_accept</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
34
<link linkend="void">void</link> <link linkend="empathy-tp-call-invite">empathy_tp_call_invite</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
35
<link linkend="EmpathyContact">EmpathyContact</link> *contact);
36
<link linkend="void">void</link> <link linkend="empathy-tp-call-request-streams">empathy_tp_call_request_streams</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
37
<link linkend="gboolean">gboolean</link> audio,
38
<link linkend="gboolean">gboolean</link> video);
39
<link linkend="void">void</link> <link linkend="empathy-tp-call-send-video">empathy_tp_call_send_video</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
40
<link linkend="gboolean">gboolean</link> send);
41
<link linkend="void">void</link> <link linkend="empathy-tp-call-add-preview-window">empathy_tp_call_add_preview_window</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
42
<link linkend="guint">guint</link> socket_id);
43
<link linkend="void">void</link> <link linkend="empathy-tp-call-remove-preview-window">empathy_tp_call_remove_preview_window</link>
44
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
45
<link linkend="guint">guint</link> socket_id);
46
<link linkend="void">void</link> <link linkend="empathy-tp-call-set-output-window">empathy_tp_call_set_output_window</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
47
<link linkend="guint">guint</link> socket_id);
28
<link linkend="EmpathyTpCall">EmpathyTpCall</link>* <link linkend="empathy-tp-call-new">empathy_tp_call_new</link> (<link linkend="TpConn">TpConn</link> *connection,
29
<link linkend="TpChan">TpChan</link> *channel);
30
<link linkend="void">void</link> <link linkend="empathy-tp-call-accept-incoming-call">empathy_tp_call_accept_incoming_call</link>
31
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
32
<link linkend="void">void</link> <link linkend="empathy-tp-call-close-channel">empathy_tp_call_close_channel</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
33
<link linkend="void">void</link> <link linkend="empathy-tp-call-request-video-stream-direction">empathy_tp_call_request_video_stream_direction</link>
34
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
35
<link linkend="gboolean">gboolean</link> is_sending);
36
<link linkend="void">void</link> <link linkend="empathy-tp-call-add-preview-video">empathy_tp_call_add_preview_video</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
37
<link linkend="guint">guint</link> preview_video_socket_id);
38
<link linkend="void">void</link> <link linkend="empathy-tp-call-remove-preview-video">empathy_tp_call_remove_preview_video</link>
39
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
40
<link linkend="guint">guint</link> preview_video_socket_id);
41
<link linkend="void">void</link> <link linkend="empathy-tp-call-add-output-video">empathy_tp_call_add_output_video</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
42
<link linkend="guint">guint</link> output_video_socket_id);
48
43
<link linkend="void">void</link> <link linkend="empathy-tp-call-set-output-volume">empathy_tp_call_set_output_volume</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
49
44
<link linkend="guint">guint</link> volume);
50
45
<link linkend="void">void</link> <link linkend="empathy-tp-call-mute-output">empathy_tp_call_mute_output</link> (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
116
119
</para></refsect2>
118
121
<title><anchor id="empathy-tp-call-new" role="function"/>empathy_tp_call_new ()</title>
119
<indexterm><primary>empathy_tp_call_new</primary></indexterm><programlisting><link linkend="EmpathyTpCall">EmpathyTpCall</link>* empathy_tp_call_new (<link linkend="McAccount">McAccount</link> *account,
120
<link linkend="TpChan">TpChan</link> *tp_chan);</programlisting>
123
</para><variablelist role="params">
124
<varlistentry><term><parameter>account</parameter> :</term>
126
</simpara></listitem></varlistentry>
127
<varlistentry><term><parameter>tp_chan</parameter> :</term>
129
</simpara></listitem></varlistentry>
130
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
133
</simpara></listitem></varlistentry>
134
</variablelist></refsect2>
136
<title><anchor id="empathy-tp-call-is-incoming" role="function"/>empathy_tp_call_is_incoming ()</title>
137
<indexterm><primary>empathy_tp_call_is_incoming</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> empathy_tp_call_is_incoming (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
140
</para><variablelist role="params">
141
<varlistentry><term><parameter>call</parameter> :</term>
143
</simpara></listitem></varlistentry>
144
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
147
</simpara></listitem></varlistentry>
148
</variablelist></refsect2>
150
<title><anchor id="empathy-tp-call-get-status" role="function"/>empathy_tp_call_get_status ()</title>
151
<indexterm><primary>empathy_tp_call_get_status</primary></indexterm><programlisting><link linkend="EmpathyTpCallStatus">EmpathyTpCallStatus</link> empathy_tp_call_get_status (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
154
</para><variablelist role="params">
155
<varlistentry><term><parameter>call</parameter> :</term>
157
</simpara></listitem></varlistentry>
158
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
161
</simpara></listitem></varlistentry>
162
</variablelist></refsect2>
164
<title><anchor id="empathy-tp-call-get-contact" role="function"/>empathy_tp_call_get_contact ()</title>
165
<indexterm><primary>empathy_tp_call_get_contact</primary></indexterm><programlisting><link linkend="EmpathyContact">EmpathyContact</link>* empathy_tp_call_get_contact (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
168
</para><variablelist role="params">
169
<varlistentry><term><parameter>call</parameter> :</term>
171
</simpara></listitem></varlistentry>
172
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
175
</simpara></listitem></varlistentry>
176
</variablelist></refsect2>
178
<title><anchor id="empathy-tp-call-accept" role="function"/>empathy_tp_call_accept ()</title>
179
<indexterm><primary>empathy_tp_call_accept</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_accept (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
182
</para><variablelist role="params">
183
<varlistentry><term><parameter>call</parameter> :</term>
187
</simpara></listitem></varlistentry>
188
</variablelist></refsect2>
190
<title><anchor id="empathy-tp-call-invite" role="function"/>empathy_tp_call_invite ()</title>
191
<indexterm><primary>empathy_tp_call_invite</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_invite (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
192
<link linkend="EmpathyContact">EmpathyContact</link> *contact);</programlisting>
195
</para><variablelist role="params">
196
<varlistentry><term><parameter>call</parameter> :</term>
198
</simpara></listitem></varlistentry>
199
<varlistentry><term><parameter>contact</parameter> :</term>
203
</simpara></listitem></varlistentry>
204
</variablelist></refsect2>
206
<title><anchor id="empathy-tp-call-request-streams" role="function"/>empathy_tp_call_request_streams ()</title>
207
<indexterm><primary>empathy_tp_call_request_streams</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_request_streams (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
208
<link linkend="gboolean">gboolean</link> audio,
209
<link linkend="gboolean">gboolean</link> video);</programlisting>
212
</para><variablelist role="params">
213
<varlistentry><term><parameter>call</parameter> :</term>
215
</simpara></listitem></varlistentry>
216
<varlistentry><term><parameter>audio</parameter> :</term>
218
</simpara></listitem></varlistentry>
219
<varlistentry><term><parameter>video</parameter> :</term>
223
</simpara></listitem></varlistentry>
224
</variablelist></refsect2>
226
<title><anchor id="empathy-tp-call-send-video" role="function"/>empathy_tp_call_send_video ()</title>
227
<indexterm><primary>empathy_tp_call_send_video</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_send_video (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
228
<link linkend="gboolean">gboolean</link> send);</programlisting>
231
</para><variablelist role="params">
232
<varlistentry><term><parameter>call</parameter> :</term>
234
</simpara></listitem></varlistentry>
235
<varlistentry><term><parameter>send</parameter> :</term>
239
</simpara></listitem></varlistentry>
240
</variablelist></refsect2>
242
<title><anchor id="empathy-tp-call-add-preview-window" role="function"/>empathy_tp_call_add_preview_window ()</title>
243
<indexterm><primary>empathy_tp_call_add_preview_window</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_add_preview_window (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
244
<link linkend="guint">guint</link> socket_id);</programlisting>
247
</para><variablelist role="params">
248
<varlistentry><term><parameter>call</parameter> :</term>
250
</simpara></listitem></varlistentry>
251
<varlistentry><term><parameter>socket_id</parameter> :</term>
255
</simpara></listitem></varlistentry>
256
</variablelist></refsect2>
258
<title><anchor id="empathy-tp-call-remove-preview-window" role="function"/>empathy_tp_call_remove_preview_window ()</title>
259
<indexterm><primary>empathy_tp_call_remove_preview_window</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_remove_preview_window
260
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
261
<link linkend="guint">guint</link> socket_id);</programlisting>
264
</para><variablelist role="params">
265
<varlistentry><term><parameter>call</parameter> :</term>
267
</simpara></listitem></varlistentry>
268
<varlistentry><term><parameter>socket_id</parameter> :</term>
272
</simpara></listitem></varlistentry>
273
</variablelist></refsect2>
275
<title><anchor id="empathy-tp-call-set-output-window" role="function"/>empathy_tp_call_set_output_window ()</title>
276
<indexterm><primary>empathy_tp_call_set_output_window</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_set_output_window (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
277
<link linkend="guint">guint</link> socket_id);</programlisting>
280
</para><variablelist role="params">
281
<varlistentry><term><parameter>call</parameter> :</term>
283
</simpara></listitem></varlistentry>
284
<varlistentry><term><parameter>socket_id</parameter> :</term>
122
<indexterm><primary>empathy_tp_call_new</primary></indexterm><programlisting><link linkend="EmpathyTpCall">EmpathyTpCall</link>* empathy_tp_call_new (<link linkend="TpConn">TpConn</link> *connection,
123
<link linkend="TpChan">TpChan</link> *channel);</programlisting>
126
</para><variablelist role="params">
127
<varlistentry><term><parameter>connection</parameter> :</term>
129
</simpara></listitem></varlistentry>
130
<varlistentry><term><parameter>channel</parameter> :</term>
132
</simpara></listitem></varlistentry>
133
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara>
136
</simpara></listitem></varlistentry>
137
</variablelist></refsect2>
139
<title><anchor id="empathy-tp-call-accept-incoming-call" role="function"/>empathy_tp_call_accept_incoming_call ()</title>
140
<indexterm><primary>empathy_tp_call_accept_incoming_call</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_accept_incoming_call
141
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
144
</para><variablelist role="params">
145
<varlistentry><term><parameter>call</parameter> :</term>
149
</simpara></listitem></varlistentry>
150
</variablelist></refsect2>
152
<title><anchor id="empathy-tp-call-close-channel" role="function"/>empathy_tp_call_close_channel ()</title>
153
<indexterm><primary>empathy_tp_call_close_channel</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_close_channel (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
156
</para><variablelist role="params">
157
<varlistentry><term><parameter>call</parameter> :</term>
161
</simpara></listitem></varlistentry>
162
</variablelist></refsect2>
164
<title><anchor id="empathy-tp-call-request-video-stream-direction" role="function"/>empathy_tp_call_request_video_stream_direction ()</title>
165
<indexterm><primary>empathy_tp_call_request_video_stream_direction</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_request_video_stream_direction
166
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
167
<link linkend="gboolean">gboolean</link> is_sending);</programlisting>
170
</para><variablelist role="params">
171
<varlistentry><term><parameter>call</parameter> :</term>
173
</simpara></listitem></varlistentry>
174
<varlistentry><term><parameter>is_sending</parameter> :</term>
178
</simpara></listitem></varlistentry>
179
</variablelist></refsect2>
181
<title><anchor id="empathy-tp-call-add-preview-video" role="function"/>empathy_tp_call_add_preview_video ()</title>
182
<indexterm><primary>empathy_tp_call_add_preview_video</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_add_preview_video (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
183
<link linkend="guint">guint</link> preview_video_socket_id);</programlisting>
186
</para><variablelist role="params">
187
<varlistentry><term><parameter>call</parameter> :</term>
189
</simpara></listitem></varlistentry>
190
<varlistentry><term><parameter>preview_video_socket_id</parameter> :</term>
194
</simpara></listitem></varlistentry>
195
</variablelist></refsect2>
197
<title><anchor id="empathy-tp-call-remove-preview-video" role="function"/>empathy_tp_call_remove_preview_video ()</title>
198
<indexterm><primary>empathy_tp_call_remove_preview_video</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_remove_preview_video
199
(<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
200
<link linkend="guint">guint</link> preview_video_socket_id);</programlisting>
203
</para><variablelist role="params">
204
<varlistentry><term><parameter>call</parameter> :</term>
206
</simpara></listitem></varlistentry>
207
<varlistentry><term><parameter>preview_video_socket_id</parameter> :</term>
211
</simpara></listitem></varlistentry>
212
</variablelist></refsect2>
214
<title><anchor id="empathy-tp-call-add-output-video" role="function"/>empathy_tp_call_add_output_video ()</title>
215
<indexterm><primary>empathy_tp_call_add_output_video</primary></indexterm><programlisting><link linkend="void">void</link> empathy_tp_call_add_output_video (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
216
<link linkend="guint">guint</link> output_video_socket_id);</programlisting>
219
</para><variablelist role="params">
220
<varlistentry><term><parameter>call</parameter> :</term>
222
</simpara></listitem></varlistentry>
223
<varlistentry><term><parameter>output_video_socket_id</parameter> :</term>
285
224
<listitem><simpara>
340
279
<refsect1 role="property_details">
341
280
<title role="property_details.title">Property Details</title>
342
<refsect2><title><anchor id="EmpathyTpCall--account"/>The <literal>"account"</literal> property</title>
343
<indexterm><primary>EmpathyTpCall:account</primary></indexterm><programlisting> "account" <link linkend="McAccount">McAccount</link> : Read / Write / Construct Only</programlisting>
344
<para>The account associated with the channel.</para></refsect2>
281
<refsect2><title><anchor id="EmpathyTpCall--audio-stream"/>The <literal>"audio-stream"</literal> property</title>
282
<indexterm><primary>EmpathyTpCall:audio-stream</primary></indexterm><programlisting> "audio-stream" <link linkend="gpointer">gpointer</link> : Read</programlisting>
283
<para>Audio stream data.</para></refsect2>
284
<refsect2><title><anchor id="EmpathyTpCall--channel"/>The <literal>"channel"</literal> property</title>
285
<indexterm><primary>EmpathyTpCall:channel</primary></indexterm><programlisting> "channel" <link linkend="TpChan">TpChan</link> : Read / Write / Construct Only</programlisting>
286
<para>channel.</para></refsect2>
287
<refsect2><title><anchor id="EmpathyTpCall--connection"/>The <literal>"connection"</literal> property</title>
288
<indexterm><primary>EmpathyTpCall:connection</primary></indexterm><programlisting> "connection" <link linkend="TpConn">TpConn</link> : Read / Write / Construct Only</programlisting>
289
<para>connection.</para></refsect2>
290
<refsect2><title><anchor id="EmpathyTpCall--contact"/>The <literal>"contact"</literal> property</title>
291
<indexterm><primary>EmpathyTpCall:contact</primary></indexterm><programlisting> "contact" <link linkend="EmpathyContact">EmpathyContact</link> : Read</programlisting>
292
<para>Call contact.</para></refsect2>
293
<refsect2><title><anchor id="EmpathyTpCall--is-incoming"/>The <literal>"is-incoming"</literal> property</title>
294
<indexterm><primary>EmpathyTpCall:is-incoming</primary></indexterm><programlisting> "is-incoming" <link linkend="gboolean">gboolean</link> : Read</programlisting>
295
<para>Is media stream incoming.</para><para>Default value: FALSE</para>
345
297
<refsect2><title><anchor id="EmpathyTpCall--status"/>The <literal>"status"</literal> property</title>
346
<indexterm><primary>EmpathyTpCall:status</primary></indexterm><programlisting> "status" <link linkend="EmpathyTpCallStatus">EmpathyTpCallStatus</link> : Read</programlisting>
347
<para>The status of the call.</para><para>Default value: EMPATHY_TP_CALL_STATUS_PREPARING</para>
298
<indexterm><primary>EmpathyTpCall:status</primary></indexterm><programlisting> "status" <link linkend="guint">guint</link> : Read</programlisting>
299
<para>Call status.</para><para>Allowed values: <= 255</para>
300
<para>Default value: 0</para>
349
<refsect2><title><anchor id="EmpathyTpCall--tp-chan"/>The <literal>"tp-chan"</literal> property</title>
350
<indexterm><primary>EmpathyTpCall:tp-chan</primary></indexterm><programlisting> "tp-chan" <link linkend="TpChan">TpChan</link> : Read / Write / Construct Only</programlisting>
351
<para>The media channel for the call.</para></refsect2>
302
<refsect2><title><anchor id="EmpathyTpCall--video-stream"/>The <literal>"video-stream"</literal> property</title>
303
<indexterm><primary>EmpathyTpCall:video-stream</primary></indexterm><programlisting> "video-stream" <link linkend="gpointer">gpointer</link> : Read</programlisting>
304
<para>Video stream data.</para></refsect2>
355
308
<refsect1 role="signals">
356
309
<title role="signals.title">Signal Details</title>
357
<refsect2><title><anchor id="EmpathyTpCall-destroy"/>The <literal>"destroy"</literal> signal</title>
358
<indexterm><primary>EmpathyTpCall::destroy</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *empathytpcall,
310
<refsect2><title><anchor id="EmpathyTpCall-receiving-video"/>The <literal>"receiving-video"</literal> signal</title>
311
<indexterm><primary>EmpathyTpCall::receiving-video</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *empathytpcall,
312
<link linkend="gboolean">gboolean</link> arg1,
313
<link linkend="gpointer">gpointer</link> user_data) : Run Last</programlisting>
316
</para><variablelist role="params">
317
<varlistentry><term><parameter>empathytpcall</parameter> :</term>
318
<listitem><simpara>the object which received the signal.
319
</simpara></listitem></varlistentry>
320
<varlistentry><term><parameter>arg1</parameter> :</term>
323
</simpara></listitem></varlistentry>
324
<varlistentry><term><parameter>user_data</parameter> :</term>
325
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
326
</variablelist></refsect2><refsect2><title><anchor id="EmpathyTpCall-sending-video"/>The <literal>"sending-video"</literal> signal</title>
327
<indexterm><primary>EmpathyTpCall::sending-video</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *empathytpcall,
328
<link linkend="gboolean">gboolean</link> arg1,
329
<link linkend="gpointer">gpointer</link> user_data) : Run Last</programlisting>
332
</para><variablelist role="params">
333
<varlistentry><term><parameter>empathytpcall</parameter> :</term>
334
<listitem><simpara>the object which received the signal.
335
</simpara></listitem></varlistentry>
336
<varlistentry><term><parameter>arg1</parameter> :</term>
339
</simpara></listitem></varlistentry>
340
<varlistentry><term><parameter>user_data</parameter> :</term>
341
<listitem><simpara>user data set when the signal handler was connected.</simpara></listitem></varlistentry>
342
</variablelist></refsect2><refsect2><title><anchor id="EmpathyTpCall-status-changed"/>The <literal>"status-changed"</literal> signal</title>
343
<indexterm><primary>EmpathyTpCall::status-changed</primary></indexterm><programlisting><link linkend="void">void</link> user_function (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *empathytpcall,
359
344
<link linkend="gpointer">gpointer</link> user_data) : Run Last</programlisting>