twilio / video-quickstart-android

Twilio Video Quickstart for Android
MIT License
213 stars 160 forks source link

when app goes in background of remote participant during call then after one minute local participant can not hear voice of remote participant or audio become disable. #725

Closed sonuroot closed 1 year ago

sonuroot commented 2 years ago

Before filing an issue please check that the issue is not already addressed by the following:

Please ensure that you are not sharing any Personally Identifiable Information(PII) or sensitive account information (API keys, credentials, etc.) when reporting an issue.

Description

when app goes in background of remote participant during call then after one minute local participant can not hear voice of remote participant or audio become disable.

Steps to Reproduce

1.When local participant and remote participant join call sucessfully.

  1. When remote participant goes in background.
  2. After one minute local participant can not hear voice of remote participant.

    Code

// Code that help reproduce the issue

Expected Behavior

local participant can hear voice of remote participant.

Actual Behavior

local participant can not hear voice of remote participant.

Reproduces how Often

every time.

Logs

// Log output when issue occurs

Versions

All relevant version information for issue.

Video Android SDK

twilio:video-android:7.1.2)

Android API

[eg. 18]

Android Device

ream me xt

mithun-bostontech commented 1 year ago

any update on the above issue we are also facing the same issue ,please look into it

PhilipSA commented 1 year ago

Same issue here 7.5.1 with Android 12

afalls-twilio commented 1 year ago

@PhilipSA @mithun-bostontech Thank you for the bug report, several questions..

This is most likely due to another application grabbing the audio context when the app is backgrounded. Most of this is delegated to our open source library AudioSwitch (which may also have a bug regarding audio context switching). Are you using AudioSwitch (and what version)?

Also, was this with the quickstart?