Skip to content

Granting explicit recording consent doesn't trigger 'isRecordingActiveChanged' event #33207

Open
@jamonserrano

Description

@jamonserrano
  • 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

Describe the bug

  1. 'isRecordingActiveChanged' is not triggered after calling RecordingCallFeature.grantTeamsConsent().

To Reproduce
Steps to reproduce the behavior:

  1. Run a call that requires explicit recording consent.
  2. Join the call with the ACS JS SDK user.
  3. Start recording. The 'isRecordingActiveChanged' event is triggered on the RecordingCallFeature instance, and both the isRecordingActive and isTeamsConsentRequired properties are true. The SDK user's camera and mic are turned off.
  4. Calling grantTeamsConsent() on the feature instance resolves successfully and the user can turn on their camera and mic again. Shortly the isTeamsConsentRequired property changes to false, 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

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Communication - Calling ServerService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions