Open
Description
- Package Name: @azure/communication-calling
- Package Version: 1.33.2
- Operating system:
- nodejs
- version:
- browser
- name/version: Chrome Version 132.0.6834.160
- typescript
- version: 5.7.2
- Is the bug related to documentation in
- README.md
- source code documentation
- [] SDK API docs on https://learn.microsoft.com
Describe the bug
'isRecordingActiveChanged'
is not triggered after callingRecordingCallFeature.grantTeamsConsent()
.
To Reproduce
Steps to reproduce the behavior:
- Run a call that requires explicit recording consent.
- Join the call with the ACS JS SDK user.
- Start recording. The
'isRecordingActiveChanged'
event is triggered on theRecordingCallFeature
instance, and both theisRecordingActive
andisTeamsConsentRequired
properties aretrue
. The SDK user's camera and mic are turned off. - Calling
grantTeamsConsent()
on the feature instance resolves successfully and the user can turn on their camera and mic again. Shortly theisTeamsConsentRequired
property changes tofalse
, however there's no'isRecordingActiveChanged'
event so the property has to be polled manually.
Expected behavior
Unless developers are expected to start polling the value of isTeamsConsentRequired
after granting consent, the 'isRecordingActiveChanged'
event - or a separate, dedicated event - should be triggered.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context