Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQ] callAgent.addOnConnectionStateChangedListener() #1404

Open
2 tasks done
JasonWeinzierl opened this issue Jul 10, 2023 · 0 comments
Open
2 tasks done

[FEATURE REQ] callAgent.addOnConnectionStateChangedListener() #1404

JasonWeinzierl opened this issue Jul 10, 2023 · 0 comments
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@JasonWeinzierl
Copy link

Is your feature request related to a problem? Please describe.

If the call agent is no longer connected to Azure, there's currently no event in the Android calling SDK. This means we have no idea if the call agent needs to be disposed and re-created. Please add an event to inform us of when the call agent disconnects.

Describe the solution you'd like

callAgent.addOnConnectionStateChangedListener {
  Log.i(TAG, "Connection state of call agent changed from ${it.oldValue} to ${it.newValue} with reason ${it.reason}")
}

Describe alternatives you've considered

Restart the call agent periodically, in case it silently disconnected.

Additional context

The latest beta 1.15.1-beta.1 for the JS calling SDK added callAgent.on('connectionStateChanged');. Is this planned for the Android SDK as well?

Information Checklist

Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Description Added
  • Expected solution specified
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

1 participant