<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
<!ENTITY version SYSTEM "version.xml">
]>
<refentry id="EmpathyTpCall">
<refmeta>
<refentrytitle role="top_of_page" id="EmpathyTpCall.top_of_page">EmpathyTpCall</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBEMPATHY Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>EmpathyTpCall</refname>
<refpurpose></refpurpose>
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
</refnamediv>

<refsynopsisdiv id="EmpathyTpCall.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>

<synopsis>
                    <link linkend="EmpathyTpCall-struct">EmpathyTpCall</link>;
enum                <link linkend="EmpathyTpCallStatus">EmpathyTpCallStatus</link>;
<link linkend="EmpathyTpCall">EmpathyTpCall</link>*      <link linkend="empathy-tp-call-new">empathy_tp_call_new</link>                 (<link linkend="TpChannel">TpChannel</link> *channel);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-accept-incoming-call">empathy_tp_call_accept_incoming_call</link>
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-request-video-stream-direction">empathy_tp_call_request_video_stream_direction</link>
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_sending);
<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,
                                                         <link linkend="guint">guint</link> preview_video_socket_id);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-remove-preview-video">empathy_tp_call_remove_preview_video</link>
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="guint">guint</link> preview_video_socket_id);
<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,
                                                         <link linkend="guint">guint</link> output_video_socket_id);
<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,
                                                         <link linkend="guint">guint</link> volume);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-mute-output">empathy_tp_call_mute_output</link>         (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_muted);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-mute-input">empathy_tp_call_mute_input</link>          (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_muted);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-start-tone">empathy_tp_call_start_tone</link>          (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="TpDTMFEvent">TpDTMFEvent</link> event);
<link linkend="void">void</link>                <link linkend="empathy-tp-call-stop-tone">empathy_tp_call_stop_tone</link>           (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
<link linkend="gboolean">gboolean</link>            <link linkend="empathy-tp-call-has-dtmf">empathy_tp_call_has_dtmf</link>            (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);
</synopsis>
</refsynopsisdiv>

<refsect1 id="EmpathyTpCall.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
  <link linkend="GObject">GObject</link>
   +----EmpathyTpCall
</synopsis>

</refsect1>





<refsect1 id="EmpathyTpCall.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
  &quot;<link linkend="EmpathyTpCall--audio-stream">audio-stream</link>&quot;             <link linkend="gpointer">gpointer</link>              : Read
  &quot;<link linkend="EmpathyTpCall--channel">channel</link>&quot;                  <link linkend="TpChannel">TpChannel</link>*            : Read / Write / Construct Only
  &quot;<link linkend="EmpathyTpCall--contact">contact</link>&quot;                  <link linkend="EmpathyContact">EmpathyContact</link>*       : Read
  &quot;<link linkend="EmpathyTpCall--is-incoming">is-incoming</link>&quot;              <link linkend="gboolean">gboolean</link>              : Read
  &quot;<link linkend="EmpathyTpCall--status">status</link>&quot;                   <link linkend="guint">guint</link>                 : Read
  &quot;<link linkend="EmpathyTpCall--video-stream">video-stream</link>&quot;             <link linkend="gpointer">gpointer</link>              : Read
</synopsis>
</refsect1>



<refsect1 id="EmpathyTpCall.description" role="desc">
<title role="desc.title">Description</title>
<para>

</para>
</refsect1>

<refsect1 id="EmpathyTpCall.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="EmpathyTpCall-struct" role="struct">
<title>EmpathyTpCall</title>
<indexterm zone="EmpathyTpCall-struct"><primary>EmpathyTpCall</primary></indexterm><programlisting>typedef struct _EmpathyTpCall EmpathyTpCall;</programlisting>
<para>

</para></refsect2>
<refsect2 id="EmpathyTpCallStatus" role="enum">
<title>enum EmpathyTpCallStatus</title>
<indexterm zone="EmpathyTpCallStatus"><primary>EmpathyTpCallStatus</primary></indexterm><programlisting>typedef enum
{
  EMPATHY_TP_CALL_STATUS_READYING,
  EMPATHY_TP_CALL_STATUS_PENDING,
  EMPATHY_TP_CALL_STATUS_ACCEPTED,
  EMPATHY_TP_CALL_STATUS_CLOSED
} EmpathyTpCallStatus;
</programlisting>
<para>

</para></refsect2>
<refsect2 id="empathy-tp-call-new" role="function">
<title>empathy_tp_call_new ()</title>
<indexterm zone="empathy-tp-call-new"><primary>empathy_tp_call_new</primary></indexterm><programlisting><link linkend="EmpathyTpCall">EmpathyTpCall</link>*      empathy_tp_call_new                 (<link linkend="TpChannel">TpChannel</link> *channel);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>channel</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-accept-incoming-call" role="function">
<title>empathy_tp_call_accept_incoming_call ()</title>
<indexterm zone="empathy-tp-call-accept-incoming-call"><primary>empathy_tp_call_accept_incoming_call</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_accept_incoming_call
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-request-video-stream-direction" role="function">
<title>empathy_tp_call_request_video_stream_direction ()</title>
<indexterm zone="empathy-tp-call-request-video-stream-direction"><primary>empathy_tp_call_request_video_stream_direction</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_request_video_stream_direction
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_sending);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>is_sending</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-add-preview-video" role="function">
<title>empathy_tp_call_add_preview_video ()</title>
<indexterm zone="empathy-tp-call-add-preview-video"><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,
                                                         <link linkend="guint">guint</link> preview_video_socket_id);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>preview_video_socket_id</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-remove-preview-video" role="function">
<title>empathy_tp_call_remove_preview_video ()</title>
<indexterm zone="empathy-tp-call-remove-preview-video"><primary>empathy_tp_call_remove_preview_video</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_remove_preview_video
                                                        (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="guint">guint</link> preview_video_socket_id);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>preview_video_socket_id</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-add-output-video" role="function">
<title>empathy_tp_call_add_output_video ()</title>
<indexterm zone="empathy-tp-call-add-output-video"><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,
                                                         <link linkend="guint">guint</link> output_video_socket_id);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>output_video_socket_id</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-set-output-volume" role="function">
<title>empathy_tp_call_set_output_volume ()</title>
<indexterm zone="empathy-tp-call-set-output-volume"><primary>empathy_tp_call_set_output_volume</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_set_output_volume   (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="guint">guint</link> volume);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>volume</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-mute-output" role="function">
<title>empathy_tp_call_mute_output ()</title>
<indexterm zone="empathy-tp-call-mute-output"><primary>empathy_tp_call_mute_output</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_mute_output         (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_muted);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>is_muted</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-mute-input" role="function">
<title>empathy_tp_call_mute_input ()</title>
<indexterm zone="empathy-tp-call-mute-input"><primary>empathy_tp_call_mute_input</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_mute_input          (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="gboolean">gboolean</link> is_muted);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>is_muted</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-start-tone" role="function">
<title>empathy_tp_call_start_tone ()</title>
<indexterm zone="empathy-tp-call-start-tone"><primary>empathy_tp_call_start_tone</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_start_tone          (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call,
                                                         <link linkend="TpDTMFEvent">TpDTMFEvent</link> event);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>event</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-stop-tone" role="function">
<title>empathy_tp_call_stop_tone ()</title>
<indexterm zone="empathy-tp-call-stop-tone"><primary>empathy_tp_call_stop_tone</primary></indexterm><programlisting><link linkend="void">void</link>                empathy_tp_call_stop_tone           (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="empathy-tp-call-has-dtmf" role="function">
<title>empathy_tp_call_has_dtmf ()</title>
<indexterm zone="empathy-tp-call-has-dtmf"><primary>empathy_tp_call_has_dtmf</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link>            empathy_tp_call_has_dtmf            (<link linkend="EmpathyTpCall">EmpathyTpCall</link> *call);</programlisting>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>call</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1 id="EmpathyTpCall.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="EmpathyTpCall--audio-stream"><title>The <literal>&quot;audio-stream&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--audio-stream"><primary>EmpathyTpCall:audio-stream</primary></indexterm><programlisting>  &quot;audio-stream&quot;             <link linkend="gpointer">gpointer</link>              : Read</programlisting>
<para>Audio stream data.</para></refsect2>
<refsect2 id="EmpathyTpCall--channel"><title>The <literal>&quot;channel&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--channel"><primary>EmpathyTpCall:channel</primary></indexterm><programlisting>  &quot;channel&quot;                  <link linkend="TpChannel">TpChannel</link>*            : Read / Write / Construct Only</programlisting>
<para>channel.</para></refsect2>
<refsect2 id="EmpathyTpCall--contact"><title>The <literal>&quot;contact&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--contact"><primary>EmpathyTpCall:contact</primary></indexterm><programlisting>  &quot;contact&quot;                  <link linkend="EmpathyContact">EmpathyContact</link>*       : Read</programlisting>
<para>Call contact.</para></refsect2>
<refsect2 id="EmpathyTpCall--is-incoming"><title>The <literal>&quot;is-incoming&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--is-incoming"><primary>EmpathyTpCall:is-incoming</primary></indexterm><programlisting>  &quot;is-incoming&quot;              <link linkend="gboolean">gboolean</link>              : Read</programlisting>
<para>Is media stream incoming.</para><para>Default value: FALSE</para>
</refsect2>
<refsect2 id="EmpathyTpCall--status"><title>The <literal>&quot;status&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--status"><primary>EmpathyTpCall:status</primary></indexterm><programlisting>  &quot;status&quot;                   <link linkend="guint">guint</link>                 : Read</programlisting>
<para>Call status.</para><para>Allowed values: &lt;= 255</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="EmpathyTpCall--video-stream"><title>The <literal>&quot;video-stream&quot;</literal> property</title>
<indexterm zone="EmpathyTpCall--video-stream"><primary>EmpathyTpCall:video-stream</primary></indexterm><programlisting>  &quot;video-stream&quot;             <link linkend="gpointer">gpointer</link>              : Read</programlisting>
<para>Video stream data.</para></refsect2>

</refsect1>




</refentry>
