Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Hold state is not supported #20

Open
bettykinTG opened this issue Mar 24, 2019 · 0 comments
Open

Hold state is not supported #20

bettykinTG opened this issue Mar 24, 2019 · 0 comments

Comments

@bettykinTG
Copy link

bettykinTG commented Mar 24, 2019

When call is put on hold,
provider(_ provider: CXProvider, didDeactivate audioSession: AVAudioSession) is called,
where you end and remove the call.

This means there is no call to go back to when call is put off hold.

If you supported hold state you would find audio issues with this flow.
TokBox won't fix their issue as long as they can't reproduce it on this sample app.

Please fix the sample app. Thank you

(Adding this code in provider(_ provider: CXProvider, didDeactivate audioSession: AVAudioSession) would let you see the errors:
guard let call = outgoingCall, !call.isOnHold else { return })

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

No branches or pull requests

1 participant