<br>Hi,<br>          I have copied <i><b>h26x_pwplugin.so</b></i> and <i><b>h264_video_pwplugin_helper</b></i> 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: rgb(0, 0, 153);">((PVideoInputDevice *)device)->GetDeviceCapabilities(deviceName,deviceDriver,&videoCaps)</span></i><br style="color: rgb(0, 0, 153);">
<br>and the "caller" application is giving the error:<br><span style="color: rgb(255, 0, 0);">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<br><br><div class="gmail_quote">On Thu, Nov 3, 2011 at 8:55 PM, Simon Horne <span dir="ltr"><<a href="mailto:s.horne@packetizer.com">s.horne@packetizer.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You build the plugin codecs in the plugin directory that is part of h323plus.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Ie h323plus/plugins <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Look for h26x_ptplugin.so<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Simon<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br>
<b>Sent:</b> 04 November 2011 00:05<div><div></div><div class="h5"><br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA<u></u><u></u></div></div></span></p><div><div>
</div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><br>Hi,<br>          <u></u><u></u></p><div><p class="MsoNormal">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:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You build the plugin codecs in the plugin directory. They are separate files. Look for *_ptplugin.so</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p></div></div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal">       <span style="color: rgb(0, 153, 0);"> </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> <u></u><u></u></p></div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">
<div><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Apply this patch</span><u></u><u></u></p><p class="MsoNormal"><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><u></u><u></u></p>
</div></div></blockquote><div><p class="MsoNormal"><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>                 <u></u><u></u></p></div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">
<div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Simon<u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> ABDUL MOIZ [mailto:<a href="mailto:abdulmoiz786@gmail.com" target="_blank">abdulmoiz786@gmail.com</a>] <br>
<b>Sent:</b> 03 November 2011 19:54<u></u><u></u></span></p><div><div><p class="MsoNormal"><span style="font-size: 10pt;"><br><b>To:</b> Simon Horne<br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA<u></u><u></u></span></p>
</div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Hi,<br><br>      I have found that v4l2 plugin is already built.And I have used the variable <span style="font-size: 11pt; color: rgb(31, 73, 125);">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: rgb(0, 0, 153);">$ ./simph323 -l -n -u listener -i 192.1.4.1 -x 6000 -v V4L2</span><br>
<br><span style="color: rgb(0, 0, 153);">$ ./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:<u></u><u></u></p><div><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; padding: 0cm 0cm 0cm 6pt; margin: 5pt 0cm 5pt 4.8pt; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204);">
<div><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Video is enabled via plugins, Build the plugins and place them in the same directory as the application.</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);">You can also use the environmental variable PTLIBPLUGINDIR to point to the directory where the video/audio plugins are.</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Simon</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> 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><u></u><u></u></p><div><div><p class="MsoNormal"><span style="font-size: 10pt;"><br><b>Subject:</b> Re: [h323plus] Need help to run oh323tut application using ALSA</span><u></u><u></u></p>
</div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-bottom: 12pt;">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<u></u><u></u></p><div><p class="MsoNormal">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:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Abdul Moiz</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">There are no specific ALSA examples.</span><u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">However there are a number of same applications contained in the Applications download from the website.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Simon</span><u></u><u></u></p><p class="MsoNormal">
<span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span><u></u><u></u></p><p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> 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><u></u><u></u></p><div><div><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal" style="margin-bottom: 12pt;">
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<u></u><u></u></p>
<div><p class="MsoNormal">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:<u></u><u></u></p><p class="MsoNormal">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     <u></u><u></u></p><blockquote style="border-width: medium medium medium 1pt; border-style: none none none solid; padding: 0cm 0cm 0cm 6pt; margin: 5pt 0cm 5pt 4.8pt; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204);">
<p class="MsoNormal"><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<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom: 12pt;"><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<u></u><u></u></p></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div>
<p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></blockquote></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></blockquote></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div>
</div></blockquote></div><br>