Skip to content
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 - Video transmitting on receiving calls #122

Open
mj8894 opened this issue Sep 1, 2020 · 4 comments
Open

Audio - Video transmitting on receiving calls #122

mj8894 opened this issue Sep 1, 2020 · 4 comments
Labels
feature-request New feature or request Triaged

Comments

@mj8894
Copy link

mj8894 commented Sep 1, 2020

After joining a meeting, If a user receives a call over his/her phone, The meeting does not go to a halt and the voice from the call is audible in the meeting and vice versa.

To Reproduce

  1. Join a meeting
  2. Accept a call on your phone while being on the meeting
  3. Your voice can be heard on the meeting as well as the meeting audio can be heard on the call

Expected behavior
There should be an option to pause the call audio and video completely in case a call is received and then resume once the call ends.

Test environment Info (please complete the following information):

  • Device: One Plus
  • OS: Android 10
  • Version amazon-chime-sdk: 0.7.1
  • Version amazon-chime-sdk-media: 0.6.1
@linsang21
Copy link
Contributor

Hi, I followed the reproduce steps on a S9 Android 10 device but not able to replay the situation Your voice can be heard on the meeting, which means I can only hear the voice from the phone call not from meeting. Could you share more detail on the testing env?

My reproduce steps: (using the 0.7.3 sdk and 0.6.2 media sdk)

  • Join a meeting from a Android demo app with another attendee on web demo
  • Accept a call during the meeting
  • Speak constantly over the phone
  • Verify with another attendee on the web demo that there's no audio heard from me and the speaking indicator is also not showing up

For the meeting audio can be heard on the call, I don't think we support pause a meeting for an incoming phone call. One workaround I can think of is for application to handle the phone call event by stopping the meeting session, and rejoin the meeting session after the phone call is ended.

@mj8894
Copy link
Author

mj8894 commented Sep 13, 2020

Hi,

We tested several cases , however every time our voice from the call could be heard on other devices who had joined the meeting. Regarding meeting audio on the call, would be great if we have support for pausing the remote audio via code or pause the entire meeting altogether if required.

@tianyux-amz tianyux-amz added the feature-request New feature or request label Sep 16, 2020
@sagarpatel288
Copy link

sagarpatel288 commented Jun 23, 2021

@mj8894 I am late in the party but Another workaround I can think of is inspired from:

Application lifecycle event, AudioFocusChangeListener and Don't be noisy honey.

So, when the application is going in the background while we are talking over the phone call and if the meeting is already going on, we will mute ourselves for the chime meeting.

Similarly, when our chime application comes in the foreground and if the meeting is live, we will unmute ourselves.

Also, we can use various audio constants (objective/intention) to control audio behaviour.

Posted here so that someone having a similar issue can have a couple of options to try

@linsang21
Copy link
Contributor

One of the properer designs could be handling the phone call interruption by leaving / rejoining the sdk meeting, utilize the ConnectionService that allows your app to listen to there's a incoming call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request Triaged
Projects
Status: Tell Us What You Need
Development

No branches or pull requests

4 participants