wiki:audio-check-loopback

Version 3 (modified by nanang, 9 years ago) (diff)

--

Checking that Microphone and Speaker are Functioning Properly

The 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:

  1. run pjsua, e.g:
    • for desktop, pjsua sample app is automatically built, so simply run it from console:
       $ ./pjsua
      
    • for mobile platforms, pjsua CLI sample app usually need to be built manually (check Getting-Started wiki of the platform, e.g: here for Android, or 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:
       $ telnet 192.168.1.101 2323
      
      Wait until telnet session is established. Check here for more info about pjsua CLI.
  1. loopback microphone to the speaker:
    >>> cc 0 0
    
  1. Done

Now whatever captured in your microphone will be played-back locally to your speaker.

Note

This step is not recommended for PDA application since on PDA, the echo suppressor will cut the microphone signal once it detects that something is playing in the speaker.