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

Hold state is not supported #20

Description

@bettykinTG

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 })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions