Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cant use audio from background #47

Open
kisso opened this issue Sep 1, 2021 · 1 comment
Open

Cant use audio from background #47

kisso opened this issue Sep 1, 2021 · 1 comment

Comments

@kisso
Copy link

kisso commented Sep 1, 2021

Hello, I am trying to connect to call from background, I get VoIP notification and after accepting the call I start app and get following error:
CALL_ANSWERED
stream: update 'audio'
audio: Set audio decoder: PCMU 8000Hz 1ch
�[31maudiounit: AudioSessionSetActive: 1701737535
�[;m�[31maudio: start_player failed (audiounit.default): Operation not supported
�[;m�[31mcall: update: audio_decoder_set error: Operation not supported
�[;maudio: Set audio encoder: PCMU 8000Hz 1ch
�[31maudiounit: AudioSessionSetActive: 1701737535
�[;m�[31maudio: start_player failed (audiounit.default): Operation not supported
�[;m�[31maudiounit: AudioSessionSetActive: 1701737535
�[;m�[31maudio: start_source failed (audiounit.default): Operation not supported
�[;msip:*8@sip.example.sk: session closed: Operation not supported
CALL_CLOSED

When I am doing same from foreground it works.

@Koshub
Copy link
Contributor

Koshub commented Sep 29, 2021

@kisso
Did you enable background audio & Voice over IP modes in your XCode project?

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

No branches or pull requests

2 participants