-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE] Connect to PJSIP call while having other Voip call ongoing Android. Cannot hear in PJSIP call #198
Comments
I think what you are looking for is the "Request Audio Focus" feature. It is independent from the library and should be handled by the client app. Basically you have to request the audio focus and listen to its state and react accordingly (e.g. if you lose focus). You should read about the Android Audio Manager |
here is the complete explanation of the problem, I would appreciate you if you could look into it. |
Based on the API level you should request the audio focus differently. I don't see any problem here. A simple if should be enough |
@aenonGit I see another issue, If I end the Microsoft Teams call, I'm able to talk again, but the Speaker stops working, I use a blow code to activate the speaker normally. |
I updated the link above, I mistakenly shared the wrong link. |
Same as before, without requesting audio focus and listening for its state audio will never work fine. |
Thanks for your answer @aenonGit I have discovered this library https://github.com/twilio/audioswitch. Maybe something is interesting for me.
|
I still think you are not handling the audiofocus correctly |
Describe the bug
If you are in other VOIP calls like Microsoft Team & WhatsApp. You cannot hear a person through PJSIP call. On the other hand, if you use Zoiper client, you cannot hear in other VOIP calls so Zoiper takes over the calling power.
Lib version
Current latest
*Configuration
NA
Changes
NA
Smartphone (please complete the following information):
Additional context
Is there any way to route Audio calls to different routes, as in iOS using Call Kit you can control this easily, by selecting different VoIP calls and make any call active.
How Microsoft team is taking over my VOIP call, but I cant.
How Zoiper is taking over Microsoft Team and Team doesnt.
Anyone know any insights about it?
The text was updated successfully, but these errors were encountered: