Changes between Initial Version and Version 1 of Testing_Audio_Device_with_pjsystest


Ignore:
Timestamp:
Jul 17, 2009 10:27:27 AM (15 years ago)
Author:
bennylp
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Testing_Audio_Device_with_pjsystest

    v1 v1  
     1{{{ 
     2#!html 
     3<!-- MAIN TABLE START --> 
     4<table border=0 width="90%" align="center"><tr><td> 
     5}}} 
     6 
     7= Testing and Optimizing Your Audio Device with pjsystest = 
     8 
     9'''Table of Contents''' 
     10[[PageOutline(2-3,,inline)]] 
     11 
     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. 
     13 
     14By using '''pjsystest''' we can fine tune the application settings to get the most optimal setup for the target device. 
     15 
     16[[BR]] 
     17 
     18== Objectives == 
     19 
     20The objectives are: 
     21 - to eliminate audio impairments such as audio stuttering 
     22 - to minimize audio latency 
     23 
     24== Using pjsystest == 
     25 
     26=== Invoking On Windows === 
     27 
     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 
     34 
     35If you invoke pjsystest from Windows Explorer, copy the two WAV files to {{{pjsip-apps\bin}}} directory too. 
     36 
     37 Note: :: 
     38 that's because on desktop targets, pjsystest will look for the WAV files in current directory. 
     39 
     40=== Invoking On Linux/MacOS X === 
     41 
     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). 
     43 
     44=== Invoking On Windows Mobile === 
     45 
     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 
     50 
     51=== Running the application === 
     52 
     53Once the application is running, just choose "Test Wizard" to run all the tests, and follow the wizard instruction. 
     54 
     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). 
     56 
     57=== Getting the result === 
     58 
     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. 
     60 
     61 
     62 
     63{{{ 
     64#!html 
     65<!-- MAIN TABLE END --> 
     66</td></tr></table> 
     67}}} 
     68