1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
<title>EmpathyTpCall</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="libempathy Reference Manual">
8
<link rel="up" href="libempathy_api.html" title="libempathy API reference">
9
<link rel="prev" href="EmpathyTpChatroom.html" title="EmpathyTpChatroom">
10
<link rel="next" href="EmpathyContactFactory.html" title="EmpathyContactFactory">
11
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="pt01.html" title="Part I. libempathy Overview">
14
<link rel="part" href="pt02.html" title="Part II. API Reference">
15
<link rel="chapter" href="libempathy_api.html" title="libempathy API reference">
16
<link rel="chapter" href="libempathy-hierarchy.html" title="Object Hierarchy">
17
<link rel="index" href="ix01.html" title="Index">
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
20
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
22
<td><a accesskey="p" href="EmpathyTpChatroom.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
23
<td><a accesskey="u" href="libempathy_api.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
25
<th width="100%" align="center">libempathy Reference Manual</th>
26
<td><a accesskey="n" href="EmpathyContactFactory.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id367125" class="shortcut">Top</a>
30
<a href="#id389938" class="shortcut">Description</a>
32
<a href="#id389837" class="shortcut">Object Hierarchy</a>
34
<a href="#id389861" class="shortcut">Properties</a>
36
<a href="#id389914" class="shortcut">Signals</a></nobr></td></tr>
38
<div class="refentry" lang="en">
39
<a name="EmpathyTpCall"></a><div class="titlepage"></div>
40
<div class="refnamediv"><table width="100%"><tr>
43
<a name="id367125"></a><span class="refentrytitle">EmpathyTpCall</span>
47
<td valign="top" align="right"></td>
49
<div class="refsynopsisdiv">
51
<pre class="synopsis">
55
<a class="link" href="EmpathyTpCall.html#EmpathyTpCall-struct">EmpathyTpCall</a>;
56
enum <a class="link" href="EmpathyTpCall.html#EmpathyTpCallStatus">EmpathyTpCallStatus</a>;
57
<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a>* <a class="link" href="EmpathyTpCall.html#empathy-tp-call-new">empathy_tp_call_new</a> (<a
58
href="/usr/share/gtk-doc/html/libmissioncontrol/McAccount.html"
59
>McAccount</a> *account,
61
gboolean <a class="link" href="EmpathyTpCall.html#empathy-tp-call-is-incoming">empathy_tp_call_is_incoming</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);
62
<a class="link" href="EmpathyTpCall.html#EmpathyTpCallStatus">EmpathyTpCallStatus</a> <a class="link" href="EmpathyTpCall.html#empathy-tp-call-get-status">empathy_tp_call_get_status</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);
63
<a class="link" href="EmpathyContact.html" title="EmpathyContact">EmpathyContact</a>* <a class="link" href="EmpathyTpCall.html#empathy-tp-call-get-contact">empathy_tp_call_get_contact</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);
64
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-accept">empathy_tp_call_accept</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);
65
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-invite">empathy_tp_call_invite</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
66
<a class="link" href="EmpathyContact.html" title="EmpathyContact">EmpathyContact</a> *contact);
67
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-request-streams">empathy_tp_call_request_streams</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
70
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-send-video">empathy_tp_call_send_video</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
72
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-add-preview-window">empathy_tp_call_add_preview_window</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
74
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-remove-preview-window">empathy_tp_call_remove_preview_window</a>
75
(<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
77
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-set-output-window">empathy_tp_call_set_output_window</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
79
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-set-output-volume">empathy_tp_call_set_output_volume</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
81
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-mute-output">empathy_tp_call_mute_output</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
83
void <a class="link" href="EmpathyTpCall.html#empathy-tp-call-mute-input">empathy_tp_call_mute_input</a> (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
88
<div class="refsect1" lang="en">
89
<a name="id389837"></a><h2>Object Hierarchy</h2>
90
<pre class="synopsis">
96
<div class="refsect1" lang="en">
97
<a name="id389861"></a><h2>Properties</h2>
98
<pre class="synopsis">
100
"<a class="link" href="EmpathyTpCall.html#EmpathyTpCall--account">account</a>" <a
101
href="/usr/share/gtk-doc/html/libmissioncontrol/McAccount.html"
102
>McAccount</a> : Read / Write / Construct Only
103
"<a class="link" href="EmpathyTpCall.html#EmpathyTpCall--status">status</a>" <a class="link" href="EmpathyTpCall.html#EmpathyTpCallStatus">EmpathyTpCallStatus</a> : Read
104
"<a class="link" href="EmpathyTpCall.html#EmpathyTpCall--tp-chan">tp-chan</a>" TpChan : Read / Write / Construct Only
107
<div class="refsect1" lang="en">
108
<a name="id389914"></a><h2>Signals</h2>
109
<pre class="synopsis">
111
"<a class="link" href="EmpathyTpCall.html#EmpathyTpCall-destroy">destroy</a>" : Run Last
114
<div class="refsect1" lang="en">
115
<a name="id389938"></a><h2>Description</h2>
120
<div class="refsect1" lang="en">
121
<a name="id389954"></a><h2>Details</h2>
122
<div class="refsect2" lang="en">
123
<a name="id389964"></a><h3>
124
<a name="EmpathyTpCall-struct"></a>EmpathyTpCall</h3>
125
<a class="indexterm" name="id389976"></a><pre class="programlisting">typedef struct _EmpathyTpCall EmpathyTpCall;</pre>
131
<div class="refsect2" lang="en">
132
<a name="id389991"></a><h3>
133
<a name="EmpathyTpCallStatus"></a>enum EmpathyTpCallStatus</h3>
134
<a class="indexterm" name="id390004"></a><pre class="programlisting">typedef enum {
135
EMPATHY_TP_CALL_STATUS_PREPARING,
136
EMPATHY_TP_CALL_STATUS_RINGING,
137
EMPATHY_TP_CALL_STATUS_RUNNING
138
} EmpathyTpCallStatus;
145
<div class="refsect2" lang="en">
146
<a name="id390020"></a><h3>
147
<a name="empathy-tp-call-new"></a>empathy_tp_call_new ()</h3>
148
<a class="indexterm" name="id390032"></a><pre class="programlisting"><a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a>* empathy_tp_call_new (<a
149
href="/usr/share/gtk-doc/html/libmissioncontrol/McAccount.html"
150
>McAccount</a> *account,
151
TpChan *tp_chan);</pre>
155
<div class="variablelist"><table border="0">
156
<col align="left" valign="top">
159
<td><p><span class="term"><em class="parameter"><code>account</code></em> :</span></p></td>
164
<td><p><span class="term"><em class="parameter"><code>tp_chan</code></em> :</span></p></td>
169
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
179
<div class="refsect2" lang="en">
180
<a name="id396746"></a><h3>
181
<a name="empathy-tp-call-is-incoming"></a>empathy_tp_call_is_incoming ()</h3>
182
<a class="indexterm" name="id396757"></a><pre class="programlisting">gboolean empathy_tp_call_is_incoming (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);</pre>
186
<div class="variablelist"><table border="0">
187
<col align="left" valign="top">
190
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
195
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
205
<div class="refsect2" lang="en">
206
<a name="id396812"></a><h3>
207
<a name="empathy-tp-call-get-status"></a>empathy_tp_call_get_status ()</h3>
208
<a class="indexterm" name="id396825"></a><pre class="programlisting"><a class="link" href="EmpathyTpCall.html#EmpathyTpCallStatus">EmpathyTpCallStatus</a> empathy_tp_call_get_status (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);</pre>
212
<div class="variablelist"><table border="0">
213
<col align="left" valign="top">
216
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
221
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
231
<div class="refsect2" lang="en">
232
<a name="id396881"></a><h3>
233
<a name="empathy-tp-call-get-contact"></a>empathy_tp_call_get_contact ()</h3>
234
<a class="indexterm" name="id396893"></a><pre class="programlisting"><a class="link" href="EmpathyContact.html" title="EmpathyContact">EmpathyContact</a>* empathy_tp_call_get_contact (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);</pre>
238
<div class="variablelist"><table border="0">
239
<col align="left" valign="top">
242
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
247
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
257
<div class="refsect2" lang="en">
258
<a name="id396949"></a><h3>
259
<a name="empathy-tp-call-accept"></a>empathy_tp_call_accept ()</h3>
260
<a class="indexterm" name="id396961"></a><pre class="programlisting">void empathy_tp_call_accept (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call);</pre>
264
<div class="variablelist"><table border="0">
265
<col align="left" valign="top">
267
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
276
<div class="refsect2" lang="en">
277
<a name="id397006"></a><h3>
278
<a name="empathy-tp-call-invite"></a>empathy_tp_call_invite ()</h3>
279
<a class="indexterm" name="id397018"></a><pre class="programlisting">void empathy_tp_call_invite (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
280
<a class="link" href="EmpathyContact.html" title="EmpathyContact">EmpathyContact</a> *contact);</pre>
284
<div class="variablelist"><table border="0">
285
<col align="left" valign="top">
288
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
293
<td><p><span class="term"><em class="parameter"><code>contact</code></em> :</span></p></td>
303
<div class="refsect2" lang="en">
304
<a name="id397056"></a><h3>
305
<a name="empathy-tp-call-request-streams"></a>empathy_tp_call_request_streams ()</h3>
306
<a class="indexterm" name="id397067"></a><pre class="programlisting">void empathy_tp_call_request_streams (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
308
gboolean video);</pre>
312
<div class="variablelist"><table border="0">
313
<col align="left" valign="top">
316
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
321
<td><p><span class="term"><em class="parameter"><code>audio</code></em> :</span></p></td>
326
<td><p><span class="term"><em class="parameter"><code>video</code></em> :</span></p></td>
336
<div class="refsect2" lang="en">
337
<a name="id397143"></a><h3>
338
<a name="empathy-tp-call-send-video"></a>empathy_tp_call_send_video ()</h3>
339
<a class="indexterm" name="id397154"></a><pre class="programlisting">void empathy_tp_call_send_video (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
340
gboolean send);</pre>
344
<div class="variablelist"><table border="0">
345
<col align="left" valign="top">
348
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
353
<td><p><span class="term"><em class="parameter"><code>send</code></em> :</span></p></td>
363
<div class="refsect2" lang="en">
364
<a name="id397212"></a><h3>
365
<a name="empathy-tp-call-add-preview-window"></a>empathy_tp_call_add_preview_window ()</h3>
366
<a class="indexterm" name="id397222"></a><pre class="programlisting">void empathy_tp_call_add_preview_window (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
367
guint socket_id);</pre>
371
<div class="variablelist"><table border="0">
372
<col align="left" valign="top">
375
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
380
<td><p><span class="term"><em class="parameter"><code>socket_id</code></em> :</span></p></td>
390
<div class="refsect2" lang="en">
391
<a name="id397281"></a><h3>
392
<a name="empathy-tp-call-remove-preview-window"></a>empathy_tp_call_remove_preview_window ()</h3>
393
<a class="indexterm" name="id397291"></a><pre class="programlisting">void empathy_tp_call_remove_preview_window
394
(<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
395
guint socket_id);</pre>
399
<div class="variablelist"><table border="0">
400
<col align="left" valign="top">
403
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
408
<td><p><span class="term"><em class="parameter"><code>socket_id</code></em> :</span></p></td>
418
<div class="refsect2" lang="en">
419
<a name="id397350"></a><h3>
420
<a name="empathy-tp-call-set-output-window"></a>empathy_tp_call_set_output_window ()</h3>
421
<a class="indexterm" name="id397361"></a><pre class="programlisting">void empathy_tp_call_set_output_window (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
422
guint socket_id);</pre>
426
<div class="variablelist"><table border="0">
427
<col align="left" valign="top">
430
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
435
<td><p><span class="term"><em class="parameter"><code>socket_id</code></em> :</span></p></td>
445
<div class="refsect2" lang="en">
446
<a name="id397419"></a><h3>
447
<a name="empathy-tp-call-set-output-volume"></a>empathy_tp_call_set_output_volume ()</h3>
448
<a class="indexterm" name="id397430"></a><pre class="programlisting">void empathy_tp_call_set_output_volume (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
453
<div class="variablelist"><table border="0">
454
<col align="left" valign="top">
457
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
462
<td><p><span class="term"><em class="parameter"><code>volume</code></em> :</span></p></td>
472
<div class="refsect2" lang="en">
473
<a name="id397488"></a><h3>
474
<a name="empathy-tp-call-mute-output"></a>empathy_tp_call_mute_output ()</h3>
475
<a class="indexterm" name="id397498"></a><pre class="programlisting">void empathy_tp_call_mute_output (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
476
gboolean is_muted);</pre>
480
<div class="variablelist"><table border="0">
481
<col align="left" valign="top">
484
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
489
<td><p><span class="term"><em class="parameter"><code>is_muted</code></em> :</span></p></td>
499
<div class="refsect2" lang="en">
500
<a name="id397556"></a><h3>
501
<a name="empathy-tp-call-mute-input"></a>empathy_tp_call_mute_input ()</h3>
502
<a class="indexterm" name="id397567"></a><pre class="programlisting">void empathy_tp_call_mute_input (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *call,
503
gboolean is_muted);</pre>
507
<div class="variablelist"><table border="0">
508
<col align="left" valign="top">
511
<td><p><span class="term"><em class="parameter"><code>call</code></em> :</span></p></td>
516
<td><p><span class="term"><em class="parameter"><code>is_muted</code></em> :</span></p></td>
526
<div class="refsect1" lang="en">
527
<a name="id397626"></a><h2>Property Details</h2>
528
<div class="refsect2" lang="en">
529
<a name="id397636"></a><h3>
530
<a name="EmpathyTpCall--account"></a>The <code class="literal">"account"</code> property</h3>
531
<a class="indexterm" name="id397648"></a><pre class="programlisting"> "account" <a
532
href="/usr/share/gtk-doc/html/libmissioncontrol/McAccount.html"
533
>McAccount</a> : Read / Write / Construct Only</pre>
534
<p>The account associated with the channel.</p>
537
<div class="refsect2" lang="en">
538
<a name="id397667"></a><h3>
539
<a name="EmpathyTpCall--status"></a>The <code class="literal">"status"</code> property</h3>
540
<a class="indexterm" name="id397679"></a><pre class="programlisting"> "status" <a class="link" href="EmpathyTpCall.html#EmpathyTpCallStatus">EmpathyTpCallStatus</a> : Read</pre>
541
<p>The status of the call.</p>
542
<p>Default value: EMPATHY_TP_CALL_STATUS_PREPARING</p>
545
<div class="refsect2" lang="en">
546
<a name="id397701"></a><h3>
547
<a name="EmpathyTpCall--tp-chan"></a>The <code class="literal">"tp-chan"</code> property</h3>
548
<a class="indexterm" name="id397714"></a><pre class="programlisting"> "tp-chan" TpChan : Read / Write / Construct Only</pre>
549
<p>The media channel for the call.</p>
552
<div class="refsect1" lang="en">
553
<a name="id397734"></a><h2>Signal Details</h2>
554
<div class="refsect2" lang="en">
555
<a name="id397743"></a><h3>
556
<a name="EmpathyTpCall-destroy"></a>The <code class="literal">"destroy"</code> signal</h3>
557
<a class="indexterm" name="id397756"></a><pre class="programlisting">void user_function (<a class="link" href="EmpathyTpCall.html" title="EmpathyTpCall">EmpathyTpCall</a> *empathytpcall,
558
gpointer user_data) : Run Last</pre>
562
<div class="variablelist"><table border="0">
563
<col align="left" valign="top">
566
<td><p><span class="term"><em class="parameter"><code>empathytpcall</code></em> :</span></p></td>
567
<td>the object which received the signal.
572
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
573
<td>user data set when the signal handler was connected.</td>
579
<div class="refsect1" lang="en">
580
<a name="id397815"></a><div class="refsect2" lang="en"><a name="id397816"></a></div>
582
<div class="refsect2" lang="en"><a name="id397817"></a></div>