it is definitely possible, but it's out of scope for pjsip. Use some sound server such as pulseaudio - it allows concurrent use of audio devices.
From: "Branko Zebec" <firstname.lastname@example.org>
To: "pjsip list" <email@example.com>
Sent: Thursday, August 31, 2023 11:25:22 AM
Subject: [pjsip] Linux audio
Is there any possibility to use audio device on linux at the same time with other applications e.g. browser youtube?
Visit our blog: http://blog.pjsip.org
pjsip mailing list -- firstname.lastname@example.org
To unsubscribe send an email to email@example.com