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?
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 reasonCXCallEndedReason.remoteEnded
Is there a way with OpenTok to know when the source hangs out the call before being answered?
Thank you!