blob: 15a9dfbb2b675b9dd204fc6d7c8a482557aea3e6 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>pv_2way_basic_types.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
<hr><h1>pv_2way_basic_types.h File Reference</h1><code>#include "pvmf_format_type.h"</code><br>
<code>#include "oscl_vector.h"</code><br>
<code>#include "oscl_mem.h"</code><br>
<p>
<a href="pv__2way__basic__types_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPV2WayConnectOptions.html">PV2WayConnectOptions</a></td></tr>
<tr><td nowrap align=right valign=top>class &nbsp;</td><td valign=bottom><a class="el" href="classPV2WayInitInfo.html">PV2WayInitInfo</a></td></tr>
<tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a44">TPVTerminalType</a>&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a4">PV2WayTerminalType</a></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a45">TPVLoopbackMode</a>&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a5">PV2WayLoopbackMode</a></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a46">TPVDirection</a>&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a6">PV2WayDirection</a></td></tr>
<tr><td nowrap align=right valign=top>typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a47">TPVMediaType_t</a>&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a7">PV2WayMediaType</a></td></tr>
<tr><td nowrap align=right valign=top>typedef unsigned int&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a8">PVTrackId</a></td></tr>
<tr><td colspan=2><br><h2>Enumerations</h2></td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a44">TPVTerminalType</a> { <a class="el" href="pv__2way__basic__types_8h.html#a44a9">PV_323</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a44a10">PV_324M</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a44a11">PV_SIP</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a44a12">PV_TERMINAL_TYPE_NONE</a>
}</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a45">TPVLoopbackMode</a> { <a class="el" href="pv__2way__basic__types_8h.html#a45a13">PV_LOOPBACK_NONE</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a45a14">PV_LOOPBACK_COMM</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a45a15">PV_LOOPBACK_ENGINE</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a45a16">PV_LOOPBACK_MUX</a>
}</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a46">TPVDirection</a> { <a class="el" href="pv__2way__basic__types_8h.html#a46a17">PV_DIRECTION_NONE</a> = 0,
<a class="el" href="pv__2way__basic__types_8h.html#a46a18">INCOMING</a> = 1,
<a class="el" href="pv__2way__basic__types_8h.html#a46a19">OUTGOING</a> = 2,
<a class="el" href="pv__2way__basic__types_8h.html#a46a20">PV_DIRECTION_BOTH</a> = 3
}</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a47">TPVMediaType_t</a> { <br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a47a21">PV_MEDIA_NONE</a> = 0,
<a class="el" href="pv__2way__basic__types_8h.html#a47a22">PV_CONTROL</a> = 1,
<a class="el" href="pv__2way__basic__types_8h.html#a47a23">PV_AUDIO</a> = 2,
<a class="el" href="pv__2way__basic__types_8h.html#a47a24">PV_VIDEO</a> = 4,
<br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a47a25">PV_DATA</a> = 8,
<a class="el" href="pv__2way__basic__types_8h.html#a47a26">PV_USER_INPUT</a> = 16,
<a class="el" href="pv__2way__basic__types_8h.html#a47a27">PV_MULTIPLEXED</a> = 32,
<a class="el" href="pv__2way__basic__types_8h.html#a47a28">PV_MEDIA_ALL</a> = 0xFFFF
<br>
}</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a48">PV2WayState</a> { <br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a48a29">EIdle</a> = 0,
<a class="el" href="pv__2way__basic__types_8h.html#a48a30">EInitializing</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a48a31">ESetup</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a48a32">EConnecting</a>,
<br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a48a33">EConnected</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a48a34">EDisconnecting</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a48a35">EResetting</a>
<br>
}</td></tr>
<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a49">TPVTIndicationType</a> { <br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a49a36">PVT_INDICATION_INCOMING_TRACK</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a37">PVT_INDICATION_OUTGOING_TRACK</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a38">PVT_INDICATION_DISCONNECT</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a39">PVT_INDICATION_CLOSING_TRACK</a>,
<br>
&nbsp;&nbsp;<a class="el" href="pv__2way__basic__types_8h.html#a49a40">PVT_INDICATION_CLOSE_TRACK</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a41">PVT_INDICATION_PAUSE_TRACK</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a42">PVT_INDICATION_RESUME_TRACK</a>,
<a class="el" href="pv__2way__basic__types_8h.html#a49a43">PVT_INDICATION_INTERNAL_ERROR</a>
<br>
}</td></tr>
<tr><td colspan=2><br><h2>Variables</h2></td></tr>
<tr><td nowrap align=right valign=top>const int&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> = (-10500)</td></tr>
<tr><td nowrap align=right valign=top>const int&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a1">PV2WayDispatchError</a> = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 1</td></tr>
<tr><td nowrap align=right valign=top>const int&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a2">PV2WayErrorRejected</a> = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 5</td></tr>
<tr><td nowrap align=right valign=top>const int&nbsp;</td><td valign=bottom><a class="el" href="pv__2way__basic__types_8h.html#a3">PV2WayErrReplaced</a> = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 6</td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a name="a6" doxytag="pv_2way_basic_types.h::PV2WayDirection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a46">TPVDirection</a> PV2WayDirection
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVDirection Enum
<p>
TPVDirection emumerates the direction of the track. </td>
</tr>
</table>
<a name="a5" doxytag="pv_2way_basic_types.h::PV2WayLoopbackMode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a45">TPVLoopbackMode</a> PV2WayLoopbackMode
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVLoopbackMode Enum
<p>
TPVLoopbackMode emumerates the possible loopback options that can be used with the pv2way SDK </td>
</tr>
</table>
<a name="a7" doxytag="pv_2way_basic_types.h::PV2WayMediaType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a47">TPVMediaType_t</a> PV2WayMediaType
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Enumeration of high level media types supported by the SDK </td>
</tr>
</table>
<a name="a4" doxytag="pv_2way_basic_types.h::PV2WayTerminalType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef enum <a class="el" href="pv__2way__basic__types_8h.html#a44">TPVTerminalType</a> PV2WayTerminalType
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVTerminalType enum TPVTerminalType enumerates the possible 2-way protocols </td>
</tr>
</table>
<a name="a8" doxytag="pv_2way_basic_types.h::PVTrackId"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> typedef unsigned int PVTrackId
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
PVTrackId uniquely identifies a track for transferring audio/video in a particular direction - receive or transmit. </td>
</tr>
</table>
<hr><h2>Enumeration Type Documentation</h2>
<a name="a48" doxytag="pv_2way_basic_types.h::PV2WayState"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum PV2WayState
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPV2WayState Class
<p>
An enumeration of the major states of the pv2way engine. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a48a29" doxytag="EIdle"></a><em>EIdle</em></em>&nbsp;</td><td>
The state immediately after the pv2way instance has been successfully created or instantiated. No resources have been allocated yet. </td></tr>
<tr><td valign=top><em><a name="a48a30" doxytag="EInitializing"></a><em>EInitializing</em></em>&nbsp;</td><td>
The pv2way is in this state when it is initializing from the EIdle to the ESetup state. The terminal queries the available device capabilities (encode, decode, mux), acquires resources to make a two-way call (codecs, formats, memory etc) and transitions to the ESetup state when it will be ready to accept setup parameters and Connect. If initializing fails, the pv2way relinquishes the resources and reverts to the EIdle state. </td></tr>
<tr><td valign=top><em><a name="a48a31" doxytag="ESetup"></a><em>ESetup</em></em>&nbsp;</td><td>
The state where the pv2way instance is in the process of receiving setup parameters from the application, for encoding, multiplexing, capturing and rendering. Each time a new set of parameters is passed in, validation will take place and a status will be returned accordingly. A valid data source and data sink for the communications port are to be added to the terminal in this state before it can be transitioned to the Econnecting state. Media sources and sinks can also be added at this time. </td></tr>
<tr><td valign=top><em><a name="a48a32" doxytag="EConnecting"></a><em>EConnecting</em></em>&nbsp;</td><td>
The state where the pv2way instance has received a call to start connecting. It starts communication with the remote terminal to exchange media capabilities and channel configuration in preparation for the establishment of media channels. </td></tr>
<tr><td valign=top><em><a name="a48a33" doxytag="EConnected"></a><em>EConnected</em></em>&nbsp;</td><td>
The state after all control signaling is completed. The terminal is now able to open media tracks for audio and video. </td></tr>
<tr><td valign=top><em><a name="a48a34" doxytag="EDisconnecting"></a><em>EDisconnecting</em></em>&nbsp;</td><td>
The state where the terminal is shutting down all tracks and the multiplex. </td></tr>
<tr><td valign=top><em><a name="a48a35" doxytag="EResetting"></a><em>EResetting</em></em>&nbsp;</td><td>
The state where the terminal is releasing all resources and transitioning to the EIdle state. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a46" doxytag="pv_2way_basic_types.h::TPVDirection"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum TPVDirection
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVDirection Enum
<p>
TPVDirection emumerates the direction of the track. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a46a17" doxytag="PV_DIRECTION_NONE"></a><em>PV_DIRECTION_NONE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a46a18" doxytag="INCOMING"></a><em>INCOMING</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a46a19" doxytag="OUTGOING"></a><em>OUTGOING</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a46a20" doxytag="PV_DIRECTION_BOTH"></a><em>PV_DIRECTION_BOTH</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a45" doxytag="pv_2way_basic_types.h::TPVLoopbackMode"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum TPVLoopbackMode
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVLoopbackMode Enum
<p>
TPVLoopbackMode emumerates the possible loopback options that can be used with the pv2way SDK <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a45a13" doxytag="PV_LOOPBACK_NONE"></a><em>PV_LOOPBACK_NONE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a45a14" doxytag="PV_LOOPBACK_COMM"></a><em>PV_LOOPBACK_COMM</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a45a15" doxytag="PV_LOOPBACK_ENGINE"></a><em>PV_LOOPBACK_ENGINE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a45a16" doxytag="PV_LOOPBACK_MUX"></a><em>PV_LOOPBACK_MUX</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a47" doxytag="pv_2way_basic_types.h::TPVMediaType_t"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum TPVMediaType_t
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Enumeration of high level media types supported by the SDK <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a47a21" doxytag="PV_MEDIA_NONE"></a><em>PV_MEDIA_NONE</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a22" doxytag="PV_CONTROL"></a><em>PV_CONTROL</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a23" doxytag="PV_AUDIO"></a><em>PV_AUDIO</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a24" doxytag="PV_VIDEO"></a><em>PV_VIDEO</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a25" doxytag="PV_DATA"></a><em>PV_DATA</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a26" doxytag="PV_USER_INPUT"></a><em>PV_USER_INPUT</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a27" doxytag="PV_MULTIPLEXED"></a><em>PV_MULTIPLEXED</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a47a28" doxytag="PV_MEDIA_ALL"></a><em>PV_MEDIA_ALL</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a44" doxytag="pv_2way_basic_types.h::TPVTerminalType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum TPVTerminalType
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVTerminalType enum TPVTerminalType enumerates the possible 2-way protocols <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a44a9" doxytag="PV_323"></a><em>PV_323</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a44a10" doxytag="PV_324M"></a><em>PV_324M</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a44a11" doxytag="PV_SIP"></a><em>PV_SIP</em></em>&nbsp;</td><td>
</td></tr>
<tr><td valign=top><em><a name="a44a12" doxytag="PV_TERMINAL_TYPE_NONE"></a><em>PV_TERMINAL_TYPE_NONE</em></em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
</td>
</tr>
</table>
<a name="a49" doxytag="pv_2way_basic_types.h::TPVTIndicationType"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> enum TPVTIndicationType
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
TPVTIndicationType enum
<p>
Enumeration of unsolicited indications from pv2way. <dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a name="a49a36" doxytag="PVT_INDICATION_INCOMING_TRACK"></a><em>PVT_INDICATION_INCOMING_TRACK</em></em>&nbsp;</td><td>
Indicates that the peer terminal has established an incoming track. The local buffer specifies the media type associated with the track. The first octet of the local buffer indicates the media type. The second,third and fourth octets are reserved. The four octets from five to eight are to be interpreted as a unique track id. The format type and additional capabilities are indicated using the PV2WayTrackInfoInterface extension interface. </td></tr>
<tr><td valign=top><em><a name="a49a37" doxytag="PVT_INDICATION_OUTGOING_TRACK"></a><em>PVT_INDICATION_OUTGOING_TRACK</em></em>&nbsp;</td><td>
Indicates that the local terminal has established an outgoing track that is acceptable to the peer. The local buffer specifies the media type associated with the track. The first octet of the local buffer indicates the media type. The second,third and fourth octets are reserved. The four octets from five to eight are to be interpreted as a unique track id. The format type and additional capabilities are indicated using the PV2WayTrackInfoInterface extension interface. </td></tr>
<tr><td valign=top><em><a name="a49a38" doxytag="PVT_INDICATION_DISCONNECT"></a><em>PVT_INDICATION_DISCONNECT</em></em>&nbsp;</td><td>
Indicates that 2way engine has ended the current telephony session. The app can now either reset the engine or make a subsequent call. </td></tr>
<tr><td valign=top><em><a name="a49a39" doxytag="PVT_INDICATION_CLOSING_TRACK"></a><em>PVT_INDICATION_CLOSING_TRACK</em></em>&nbsp;</td><td>
Indicates the start of unsolicited closure of an incoming/outgoing track. The PVT_INDICATION_CLOSE_TRACK indication will be sent when the track is completely close. The first octet of the local buffer indicates the direction of the track. The second and third octets indicates the track id. </td></tr>
<tr><td valign=top><em><a name="a49a40" doxytag="PVT_INDICATION_CLOSE_TRACK"></a><em>PVT_INDICATION_CLOSE_TRACK</em></em>&nbsp;</td><td>
Indicates an unsolicited closure of an incoming/outgoing track. Any media sink/source associated with this will be stopped and returned to the application. The first octet of the local buffer indicates the media type of the track. The second octet indicates the direction. The third octet indicates whether there is a replacement for this track available. If true, the application may add data source/sink for this track again. </td></tr>
<tr><td valign=top><em><a name="a49a41" doxytag="PVT_INDICATION_PAUSE_TRACK"></a><em>PVT_INDICATION_PAUSE_TRACK</em></em>&nbsp;</td><td>
Indicates that the remote terminal has paused an incoming track. Any media sink associated with this will be stopped. </td></tr>
<tr><td valign=top><em><a name="a49a42" doxytag="PVT_INDICATION_RESUME_TRACK"></a><em>PVT_INDICATION_RESUME_TRACK</em></em>&nbsp;</td><td>
Indicates that the remote terminal has resumed an incoming track. Any media sink associated with this will be restarted. </td></tr>
<tr><td valign=top><em><a name="a49a43" doxytag="PVT_INDICATION_INTERNAL_ERROR"></a><em>PVT_INDICATION_INTERNAL_ERROR</em></em>&nbsp;</td><td>
Indicates an internal error in the pv2way engine. The derived class provides further information about the actual error. </td></tr>
</table>
</dl>
</td>
</tr>
</table>
<hr><h2>Variable Documentation</h2>
<a name="a1" doxytag="pv_2way_basic_types.h::PV2WayDispatchError"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const int PV2WayDispatchError = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 1
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
There was an error dispatching muxed data to the downstream node * </td>
</tr>
</table>
<a name="a2" doxytag="pv_2way_basic_types.h::PV2WayErrorRejected"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const int PV2WayErrorRejected = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 5
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The request was rejected by the peer * </td>
</tr>
</table>
<a name="a0" doxytag="pv_2way_basic_types.h::PV2WayErrorStatusStart"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const int PV2WayErrorStatusStart = (-10500)
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The starting error code for 2way specific errors * </td>
</tr>
</table>
<a name="a3" doxytag="pv_2way_basic_types.h::PV2WayErrReplaced"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> const int PV2WayErrReplaced = <a class="el" href="pv__2way__basic__types_8h.html#a0">PV2WayErrorStatusStart</a> - 6
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Signals replacement of an existing resource * </td>
</tr>
</table>
<hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>PV2Way Engine</small>
<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
</small></address>
</body>
</html>