Changes between Version 2 and Version 3 of audio-check-loopback


Ignore:
Timestamp:
May 3, 2016 7:03:29 AM (8 years ago)
Author:
nanang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • audio-check-loopback

    v2 v3  
    33The easiest way to check if both microphone and speaker are functioning properly is by using pjsua and looping the microphone to the speaker in the conference bridge: 
    44 
    5  1. run pjsua: 
     5 1. run pjsua, e.g: 
     6    - for desktop, {{{pjsua}}} sample app is automatically built, so simply run it from console: 
    67{{{ 
    78 $ ./pjsua 
    89}}} 
    9  1. loopback microphone to the speaker: 
     10    - for mobile platforms, {{{pjsua CLI}}} sample app usually need to be built manually (check [wiki:Getting-Started] wiki of the platform, e.g: [https://trac.pjsip.org/repos/wiki/Getting-Started/Android#pjsua here] for Android, or [https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone#BuildingPJSIP here] for iOS), run it on the device and start a telnet session to {{{pjsua CLI}}} app running on the device from desktop console, e.g: 
     11{{{ 
     12 $ telnet 192.168.1.101 2323 
     13}}} 
     14      Wait until telnet session is established. Check [https://trac.pjsip.org/repos/wiki/PJSUA-CLI here] for more info about pjsua CLI. 
     15 
     16 2. loopback microphone to the speaker: 
    1017{{{ 
    1118>>> cc 0 0 
    1219}}} 
    13  1. Done 
     20 
     21 3. Done 
    1422 
    1523Now whatever captured in your microphone will be played-back locally to your speaker.