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

Dismissing call banner when source cancels the call. #31

Closed
jonathanbenavides-oviva opened this issue May 25, 2021 · 0 comments
Closed

Comments

@jonathanbenavides-oviva
Copy link

jonathanbenavides-oviva commented May 25, 2021

Hi everyone 👋,

how can I dismiss the banner when the source cancels the call? OpenTok automatically does it when we create an OTSession.
Unfortunately, when using CallKit we cannot create the session until the call is answered.

According to the Apple docs we have to call reportCall(with:endedAt:reason:) with reason CXCallEndedReason.remoteEnded

Is there a way with OpenTok to know when the source hangs out the call before being answered?

Banner

Thank you!

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