Checking that Microphone and Speaker are Functioning Properly (moved)
Moved to: https://docs.pjsip.org/en/latest/specific-guides/audio-troubleshooting/checks/loopback.html
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:
- 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.
- for desktop, pjsua sample app is automatically built, so simply run it from console:
- loopback microphone to the speaker:
>>> cc 0 0
- 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.
Last modified 23 months ago
Last modified on Feb 3, 2023 12:59:30 PM