-
Notifications
You must be signed in to change notification settings - Fork 90
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
Audio Not Transmitting to Dialed Number in Twilio Call #180
Comments
Hi @hbsciw Thanks for opening the issue - I'm investigating this issue at the moment. Additional information would be helpful. On which Android SDK/OS versions do you experience this issue? |
Hi @cybex-dev Android version 13 |
@hbsciw wonderful, to confirm caller and recipient are both Android +13? |
Caller is android 13, for recipient i test with different devices such as android 13, android 12, ... For your information the recipient is not app or sdk. recipient is phone number. |
@cybex-dev Is there a way to revert to a previous version until the issue is resolved? |
Thanks for the info. |
The only alternative is reverting back to 0.0.9 - though keep in mind there are many additional fixes, etc in the latest version. We have several clients affected by this issue and am actively investigating the cause. |
Than you. Could you give me the branch or the commit relates to this version? |
Thank you for your valuable contribution |
Same issue here, hope its gonna fixed soon. |
@cybex-dev is there anything you can point us to so we might be able to help you. |
Thank you for offering, what would be helpful is to understand what's happening in the background when this issue occurs. If you could provide Android log outputs (via logcat) when placing the call until it is answered. This would assist in tracking down the issue faster. |
I've revised the required implementation for Android +13, to my knowledge all required functionality has been implemented. A change brought along with Android 14 is Foreground Service Types which has been implemented, however this issue remains. I've been able to replicate this issue using:
For the record, I've opened an issue on Android 14 QPR, I hope to have some feedback soon to resolve this issue. https://issuetracker.google.com/issues/304335430 |
I faced this issue as well, I tried with different type of devices but could not be able to receive caller audio from callee. |
Hi @mohsen-jalali, thanks for the report. I've been able to consistently reproduce this issue, I'd like to ask everyone who has experienced this issue to assist in testing this scenario: Please grab the latest version twilio_voice/tree/fix_android_14_microphone_audio, then replicate with the following actions:
This will simulate a user installing the app from Play Store and placing an outbound call. Observe audio output from the calling device, but no mic input on call recipient.
Note - this is 100% reproducible on first call, but further on it occurs intermittently regardless of caller.
This will simulate a user installing the app from Play Store and receiving an "introductory" first call call. Observe audio output from the calling device AND mic input on call recipient.
Note - this seems to be more reliable, however the same issue is faced with microphone input working intermittently. Please contribute to the bug tracker link, reposted here - it will help draw attention to this issue. |
I found the solution, the issue was because of not starting foreground service on outgoing calls. |
…_service fix: Fix cybex-dev#180 Audio Not Transmitting to Dialed Number in Twilio Call
Absolutely amazing - that would explain the Op codes error. I'll review, merge and push latest update today. Many thanks @mohsen-jalali! |
@mohsen-jalali initial testing on Google API 34 emulator (the only platform I can reliably and consistently reproduce this issue), does not seem to resolve this no microphone on outgoing calls.
This should resolve microphone access issues for prior Android 13 devices - will merge but we're not out of the water yet. |
…nd_service Fix #180 Audio Not Transmitting to Dialed Number in Twilio Call
Re-opening issue for Android 14. |
Issue Summary
I'm experiencing an issue with the sound not being transferred from the source (client) to the destination (dialed number) when implementing a Twilio call. After the client calls the Twilio number and Twilio dials the number, the two parties are connected, but the sound from the source is not audible at the destination. This is unexpected behavior as the audio should be transmitted seamlessly between both connected numbers.
Steps to Reproduce
Expected Behavior: The sound from the source should be transmitted and heard at the destination without issues.
Actual Behavior: The source and destination are connected, but the sound from the source is not reaching the destination, resulting in a one-way audio issue.
The text was updated successfully, but these errors were encountered: