<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Abdul Moiz<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Sorry for the delay in replying. I have been travelling.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>In your derived OpenAudioChannel<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>PBoolean H323EndPoint::OpenAudioChannel(H323Connection & connection,PBoolean isEncoding, unsigned bufferSize, H323AudioCodec & codec);<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>The second parameter isEncoding specifies the direction of the channel (true = transmit, false=receive). <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>This function is called once for each direction.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>To only transmit or receive then return false for the function for the direction you do not wish to open.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Simon<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ABDUL MOIZ [mailto:abdulmoiz786@gmail.com] <br><b>Sent:</b> 17 November 2011 19:49<br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br><br>        Is it possible to enable opening of only one audio channel say for transmitting in caller application and only one audio channel for receving in listener application?<br><br>In the present scenario, there are 2 audio channels being opened, one for transmitting and the other for receiving.Can I configure to open only one channel for transmitting/receiving?<br><br>Regards<br>Abdul Moiz<o:p></o:p></p><div><p class=MsoNormal>On Fri, Nov 11, 2011 at 4:53 PM, Simon Horne <<a href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Try</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>simple –h</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>To bring up the switch list</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>See</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>"P-prefer:"</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>So simple -ln -PH.263,G.711</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Will make H.263 and G.711 default</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Simon</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br><b>Sent:</b> 11 November 2011 17:15<o:p></o:p></span></p><div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'><br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA<o:p></o:p></span></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Hi,<br>       Can you please tell me how to change the default audio/video codecs in simph323 application.<br><br><br>Thanks,<br>Abdul Moiz<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Nov 10, 2011 at 2:54 PM, Simon Horne <<a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Apply this patch</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/samples/simple/main.cxx?r1=1.4&r2=1.5" target="_blank">http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/samples/simple/main.cxx?r1=1.4&r2=1.5</a><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Enable environmental variable<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>PTLIB_TRACE_CODECS=4</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>When running simple you will be able see the directories it searches for the X264 helper. </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Simon</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> <a href="mailto:h323plus-bounces@lists.packetizer.com" target="_blank">h323plus-bounces@lists.packetizer.com</a> [mailto:<a href="mailto:h323plus-bounces@lists.packetizer.com" target="_blank">h323plus-bounces@lists.packetizer.com</a>] <b>On Behalf Of </b>ABDUL MOIZ<br><b>Sent:</b> 10 November 2011 17:07<br><b>To:</b> <a href="mailto:h323plus@lists.packetizer.com" target="_blank">h323plus@lists.packetizer.com</a>; <a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a></span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'><br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>Hi,<br>          I have copied <b><i>h26x_pwplugin.so</i></b> and <b><i>h264_video_pwplugin_helper</i></b> files in my simph323 application directory and when I run the applications, <br><br>after call establishment ,<br><br>the "listener" application is hanging up at the function<br><i><span style='color:#000099'>((PVideoInputDevice *)device)->GetDeviceCapabilities(deviceName,deviceDriver,&videoCaps)</span></i><span style='color:#000099'><br></span><br>and the "caller" application is giving the error:<br><span style='color:red'>H323> ERROR: H.264 plugin couldn't find GPL process executable: h264_video_pwplugin_helper</span><br><br>and therefore video channel is not being opened.<br><br>Can you please help me to solve the above problem.<br><br>Regards<br>Abdul Moiz<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Nov 3, 2011 at 8:55 PM, Simon Horne <<a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>You build the plugin codecs in the plugin directory that is part of h323plus.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Ie h323plus/plugins </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Look for h26x_ptplugin.so</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Simon</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br><b>Sent:</b> 04 November 2011 00:05</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'><br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>Hi,<br>          <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Nov 3, 2011 at 5:51 PM, Simon Horne <<a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>You build the plugin codecs in the plugin directory. They are separate files. Look for *_ptplugin.so</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p></div></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>       <span style='color:#009900'> </span><span style='color:red'>I have alsa and v4l2 plugin file names as alsa_pwplugin.so and v4l2_pwplugin.so respectively.<br>I have copied the above plugin files into my application directory, but still video tranfers is not happening.</span><br><br> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Apply this patch</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a href="http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/samples/simple/main.cxx?r1=1.4&r2=1.5" target="_blank">http://h323plus.cvs.sourceforge.net/viewvc/h323plus/h323plus/samples/simple/main.cxx?r1=1.4&r2=1.5</a><o:p></o:p></p></div></div></blockquote><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br>  <span style='color:red'>By applying above patch, the code is not being hanged up now.But still video transfer is not happening.<br><br><br>After some debugging of code, I have found that the function <br><b><i>SimpleH323EndPoint::OpenVideoChannel(...)</i></b> is not being called.<br>Thereby video channel is not being created and video transfer is not happening.<br>So I want to know whether<br>simph323 application (out of the box) does video transfers?</span><br><span style='color:red'><br>                                       (or)</span><br><span style='color:red'><br>Do I need to add the videocodec interface in the code so that the above said function may be called?<br>If so can you please send me the required code snippets.<br><br>Thanks</span><br>                 <o:p></o:p></p></div><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Simon<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br><b>Sent:</b> 03 November 2011 19:54</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'><br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi,<br><br>      I have found that v4l2 plugin is already built.And I have used the variable <span style='font-size:11.0pt;color:#1F497D'>PTLIBPLUGINDIR</span> to point it to the directory containing plugin.<br>But still, I am unable to get Video transfers.<br>When I started debugging, I found that the simph323 application program flow is being hanged up at the function call <br>PVideoInputDevice::GetDeviceCapabilities(devices[0],inputDriverName,&caps)  <br>in main.cxx file.<br>Can you please help me in giving correct options while executing the application.<br>or any other suggestions to get Video transfers<br><br>Below are the options I am giving presently<br><br><span style='color:#000099'>$ ./simph323 -l -n -u listener -i 192.1.4.1 -x 6000 -v V4L2</span><br><br><span style='color:#000099'>$ ./simph323 -n -u caller -i 192.1.4.2 -x 5000 -v V4L2 <a href="http://listener@192.1.4.1:6000" target="_blank">listener@192.1.4.1:6000</a></span><br><br><br>My system is X86 , running ubuntu 10.04<br><br><br>Regards,<br>Abdul Moiz<br><br><br>On Thu, Nov 3, 2011 at 12:41 PM, Simon Horne <<a href="mailto:s.horne@spranto.com" target="_blank">s.horne@spranto.com</a>> wrote:<o:p></o:p></p><div><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Video is enabled via plugins, Build the plugins and place them in the same directory as the application.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>You can also use the environmental variable PTLIBPLUGINDIR to point to the directory where the video/audio plugins are.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Simon</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br><b>Sent:</b> 03 November 2011 16:54<br><b>To:</b> Simon Horne; <a href="mailto:h323plus@lists.packetizer.com" target="_blank">h323plus@lists.packetizer.com</a></span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt'><br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Hi,<br><br>          I am using simph323 application (i.e running two instances one as caller and the other as listener) and able to transfer only "Audio".<br>Is it possible to transfer "Video" and "Data" also using simph323 application and if so how to give the command line options for the 2 instances (i.e caller and listener)<br>Or else can anybody suggest me if there is any better application/example to transfer Audio,Video and Data simultaneously.<br><br>Regards,<br>Abdul Moiz<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Wed, Nov 2, 2011 at 3:41 AM, Simon Horne <<a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Abdul Moiz</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>There are no specific ALSA examples.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>However there are a number of same applications contained in the Applications download from the website.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Simon</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br><b>Sent:</b> 01 November 2011 12:39<br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Hi simon,<br> <br>         Thanks for your response.<br><br>    I am a beginner in this field.<br>I am looking for sample examples/applications which establishes H.323 call and tranfers video,audio and data across 2 systems.<br>Can you please tell me where can I find the latest sample applications (for Video,Audio and Data) or the related information/document for development of such applications<br><br><br>Regards,<br>Abdul Moiz<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, Oct 28, 2011 at 8:34 PM, Simon Horne <<a href="mailto:s.horne@packetizer.com" target="_blank">s.horne@packetizer.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Abdul Moiz<br><br>Oh323tut is getting quite old but here are some tips to get and set the<br>Audio Driver and Device Name     <o:p></o:p></p><blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>Get the drivers<br>PStringArray names = PSoundChannel::GetDriverNames();<br><br>Get the devices<br>PString DefaultAudioDriver = names[0];<br>PStringArray playDevices =<br>PSoundChannel::GetDeviceNames(DefaultAudioDriver,PSoundChannel::Player);<br>PStringArray recDevices =<br>PSoundChannel::GetDeviceNames(DefaultAudioDriver,PSoundChannel::Recorder);<br><br>Enumerate the devices<br>for (PINDEX i = 0; i < playDevices.GetSize(); i++) {<br>       cout << playDevices[i] << endl;<br>}<br><br>To set the driver call these functions<br>PBoolean H323EndPoint::SetSoundChannelPlayDriver(const PString & name)<br>PBoolean H323EndPoint::SetSoundChannelRecordDriver(const PString & name)<br><br>To set the device call these functions<br>PBoolean H323EndPoint::SetSoundChannelPlayDevice(const PString & name)<br>PBoolean H323EndPoint::SetSoundChannelRecordDevice(const PString & name)<br><br>Simon<br><br><br>From: <a href="mailto:h323plus-bounces@lists.packetizer.com" target="_blank">h323plus-bounces@lists.packetizer.com</a><br>[mailto:<a href="mailto:h323plus-bounces@lists.packetizer.com" target="_blank">h323plus-bounces@lists.packetizer.com</a>] On Behalf Of ABDUL MOIZ<br>Sent: 28 October 2011 17:15<br>To: <a href="mailto:h323plus@lists.packetizer.com" target="_blank">h323plus@lists.packetizer.com</a><br>Subject: [h323plus] Need help to run oh323tut application using ALSA<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>Hi,<br><br>        I have downloaded the source code of "h323plus core"(version:1.23.0)<br>and "PTlib"(version:2.10.1) from the link:<br><br>     <a href="http://www.h323plus.org/source/" target="_blank">http://www.h323plus.org/source/</a><br><br>     on my X86 Desktop system running ubuntu 10.04<br><br><br>   I have followed the tutorial given at link<br><br>      <a href="http://toncar.cz/openh323/tut/index.html" target="_blank">http://toncar.cz/openh323/tut/index.html</a><br><br>   I am able to compile both the source codes without any problems.<br><br>  Then I have downloaded and compiled "oh323tut" (version 1.1-1) source code<br>from the link below:<br><br>       <a href="http://toncar.cz/openh323/tut/files.html" target="_blank">http://toncar.cz/openh323/tut/files.html</a><br><br>  I have got simph323 installed on my system using<br><br>  $ sudo apt-get install simph323<br><br><br> Now when I try to run oh323tut application and simph323 application (in<br>separete terminals) using the commands below:<br><br>$ ./oh323tut -f audio.wav -n -u 320<br>$ simph323 -n -u 321 <a href="http://320@127.0.0.1:1820" target="_blank">320@127.0.0.1:1820</a><br><br>   I am getting the following problem:<br><br> H323> Could not open sound device Default - Check permissions or full<br>duplex capability.<br><br><br>  Can anybody please help to  solve the above problem.<br><br><br> Regards<o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>