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

Problems when muting local tracks in the background (ios) #97

Open
danjenkins opened this issue Sep 21, 2023 · 1 comment
Open

Problems when muting local tracks in the background (ios) #97

danjenkins opened this issue Sep 21, 2023 · 1 comment

Comments

@danjenkins
Copy link

We're having an issue where the audio processing audio unit gets stopped when all the tracks are muted. This is a change to libwebrtc done here - 272127d#diff-96494536ec12249ed599120315bbc5df4ca4b7612c4098e5fdce65e72065328dR101

Normally this would be a great addition, stop accessing the mic, stop showing the mic access bar/dot when users think the mic shouldn't be "listening". In our case, it's not great because once you stop an audio unit in the background, you can't restart it unless you're in the foreground or your app is using callkit (as far as I'm aware anyway)

I believe this functionality should have an opt out - libwebrtc allows for the use of feature flags to enable and disable a lot of functionality so I think this should definitely be enabled by default but allow users who need to, the ability to opt out of this behaviour.

cc @davidzhao

@davidzhao
Copy link
Member

CC: @hiroshihorie this is an unfortunate side effect of the way we are automatically managing the audio session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants