[iOS AzureCommunicationCalling 1.0.1] Call state return .none when the network is intermittent and call end has no callback for the first tap

Open
#374 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, ios

Research direction

Start by reproducing the airplane-mode sequence with AzureCommunicationCalling 1.0.1, observing call state, endCallReason, and the callback from call.hangUp. Done means an interrupted connection reports .disconnected with a network-related endCallReason, and the first hangUp call produces its callback.

Written by the indexing model from the issue text.

Description

Bug Needs: triage :mag:

Describe the bug
The call state would return .none after the internet connection is interrupted for 1 minutes.

To Reproduce
Steps to reproduce the behavior:

  1. Join a call successfully with good network condition
  2. call state return .connected
  3. Open airplane mode for more than 1 minutes
  4. call state return .none
  5. end the call by call.hangUp
  6. There is no callback for the first call hangUp. If you call hangUp again, it would have a callback

Expected behavior
When the network is interrupted, the callState should return .disconnected rather than none. And the endCallReason should indicate it's because of network issue

Screenshots
Screen Shot 2021-09-14 at 12 33 45 PM

  • Version [1.0.1]

Logs
Log file:
No Internet State.xcappdata.zip

Dominant language
No language data
Stars
340
Forks
113
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/Communication

All issues in Azure/Communication

Similar issues

More Audio/Video & RTC issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.