An Azure communication platform for deploying applications across devices and platforms.
It is possible to detect when your user takes the actions that you mentioned in your question.
The way to hook into the actions depends on the abstraction layer you build your app at, but in each case, your application can subscribe to events that are triggered on significant user actions.
- @azure/communication-calling's
CallClient,CallAgent, andCalltypes each expose theonfunction to subscribe. (e.g., an event that is triggered when the local participants starts/stops sharing their screen). Unfortunately, the three scenarios you mentioned - joinging / leaving / rejoing a call do not have events at this layer because your application is anyway expected to manage theCallobject directly - The Azure Communication Services UI library provides foundational UI components that can be used to build your (React) app more easily. These components do not trigger any custom browser events, but the same API as the one above is still available when using the UI components.
- The UI library also includes UI composites - customizable drop-in communications experiences. The composites use a higher-abstraction API that wraps the API from @azure/communication-calling. If using the composites, you can subscribe to all the events noted above, as well as events for leaving call via the Adapter API. If you would like to subscribe to more events at this layer, please let us know by filing a GitHub issue directly.
We would also like to understand if these event APIs do not meet your use-case for some reason.
Hope that helps!