Changes between Initial Version and Version 1 of Testing_Audio_Device_with_pjsystest

Jul 17, 2009 10:27:27 AM (13 years ago)



  • Testing_Audio_Device_with_pjsystest

    v1 v1  
     3<!-- MAIN TABLE START --> 
     4<table border=0 width="90%" align="center"><tr><td> 
     7= Testing and Optimizing Your Audio Device with pjsystest = 
     9'''Table of Contents''' 
     12The '''pjsystest''' is a new application introduced in PJSIP version 1.4 by ticket #920. The objective of this application is to find out the characteristics of the target platform/device. Initially it only supports detection of various audio parameters (which will be explained shortly below), but in the future it can be extended to support other things such as network and NAT characteristic of the deployment. 
     14By using '''pjsystest''' we can fine tune the application settings to get the most optimal setup for the target device. 
     18== Objectives == 
     20The objectives are: 
     21 - to eliminate audio impairments such as audio stuttering 
     22 - to minimize audio latency 
     24== Using pjsystest == 
     26=== Invoking On Windows === 
     28With Visual Studio 2005: 
     29 - compile PJSIP distribution as usual 
     30 - copy these two WAV files from {{{tests\pjsua\wavs}}} directory to {{{pjsip-apps\build}}} directory: 
     31    - input.8.wav 
     32    - tock8.wav 
     33 - run pjsystest application from Visual Studio 
     35If you invoke pjsystest from Windows Explorer, copy the two WAV files to {{{pjsip-apps\bin}}} directory too. 
     37 Note: :: 
     38 that's because on desktop targets, pjsystest will look for the WAV files in current directory. 
     40=== Invoking On Linux/MacOS X === 
     42Same as above, except you need to copy the two WAV files to whatever directory you plan to invoke pjsystest from (normally {{{pjsip-apps/bin}}} directory). 
     44=== Invoking On Windows Mobile === 
     46With Visual Studio, it can't be simpler: 
     47 - build the distribution and pjsystest 
     48 - run pjsystest from the IDE 
     49 - the EXE and the required WAV files will be deployed to the device automatically 
     51=== Running the application === 
     53Once the application is running, just choose "Test Wizard" to run all the tests, and follow the wizard instruction. 
     55The console application may be a bit awkward to use with all the dialog box emulation, but it works (and that's the best we can do for now). 
     57=== Getting the result === 
     59No need to have pen and paper to note the result, they are recorded to {{{PJSYSTEST_RESULT.TXT}}} file one you exit the program. On Windows Mobile, the file location is in the root device, while on desktop systems is in the directory where the application is run from. 
     65<!-- MAIN TABLE END -->