Troubleshooting Audio Problem: Check that Correct Device is Used (moved)
Moved to: https://docs.pjsip.org/en/latest/specific-guides/audio-troubleshooting/checks/device.html
Of course some audio problems occur simply because the wrong device is being used by the application. You can inspect which sound device is used by pjsua by setting the console's log level to 5 with --app-log-level 5 command line argument. Then when the application starts, you should see something like this:
15:05:37.978 pasound.c Opened device Primary Sound Capture Driver(Windows DirectSound)/Primary Sound Driver(Windows DirectSound) for recording and playback, sample rate=16000, ch=1, bits=16, 160 samples per frame, input latency=0 ms, output latency=120 ms
There it displays which input/output device is used, along with other useful information.
Last modified 23 months ago
Last modified on Feb 3, 2023 12:58:59 PM