This repository is for active development of the Azure SDK for JavaScript (NodeJS & Browser). For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/javascript/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-js.
MIT License
2.07k
stars
1.19k
forks
source link
[Communication - Calling] recordings property of callRecordingApi is not accurate for participants who join a call when recording is 'Paused' #31511
Describe the bug
Participants are not able to retrieve accurate cloud 'recordings' if they join a call after a cloud recording has already been started and paused.
To Reproduce
Use the add-1-on-1-voice-calling sample, and do the bare minimum to add "manage call recording on the client" and "add a participant to a call" functionality.
Steps to reproduce the behavior:
Establish a 1:1 call
Get the recording feature API object
inspect isRecordingActive and recordings properties -> isRecordingActive is false and recordings array is empty as expected.
Determine the Server Call ID and start a cloud recording using call automation.
Inspect isRecordingActive properties -> isRecordingActive is true and recordings array has recordingInfo as expected.
Pause the recording
Add a new participant to the call.
For the new participant, get the recording feature API object and inspect isRecordingActive and recordings properties.
Expected behavior
isRecordingActive property is false and recordings array has correct recordingInfo.
Actual behavior
isRecordingActive property is false as expected.
But the recordings property is empty, it does not contain accurate recordingInfo of the current recording which is in Paused state
Related to: https://github.com/Azure/azure-sdk-for-js/issues/28964 - isRecordingActive and recordings properties are correctly updating now as fixed here, but if the recording is in paused state when new participant joins, issue is still there as described above
Describe the bug Participants are not able to retrieve accurate cloud 'recordings' if they join a call after a cloud recording has already been started and paused.
To Reproduce Use the add-1-on-1-voice-calling sample, and do the bare minimum to add "manage call recording on the client" and "add a participant to a call" functionality.
Steps to reproduce the behavior:
Expected behavior isRecordingActive property is false and recordings array has correct recordingInfo.
Actual behavior
Related to: https://github.com/Azure/azure-sdk-for-js/issues/28964 - isRecordingActive and recordings properties are correctly updating now as fixed here, but if the recording is in paused state when new participant joins, issue is still there as described above