Communication
Communication copied to clipboard
[iOS] teams_interop recordingFeature and transcriptionFeature is not properly reflected
Describe the bug A clear and concise description of what the bug is.
- In the
'AzureCommunicationCalling
version1.1.0-beta.1
is working, but there was a breaking change in2.0.0-beta.1
that we need to do some refactoring regarding the RecordingFeatureDelegate and TranscriptionFeatureDelegate - When joining a Teams meeting through interop, and start recording the meeting, it will start BOTH
recording
andtranscription
, but the delegate method with the following code will receive these 3 events in order:- newTranscriptionActive: true
- newTranscriptionActive: false
- newRecordingActive: true
func recordingFeature(_ recordingFeature: RecordingFeature, didChangeRecordingState args: PropertyChangedEventArgs) {
let newRecordingActive = recordingFeature.isRecordingActive
print("newRecordingActive: \(newRecordingActive)")
}
func transcriptionFeature(_ transcriptionFeature: TranscriptionFeature, didChangeTranscriptionState args: PropertyChangedEventArgs) {
let newTranscriptionActive = transcriptionFeature.isTranscriptionActive
print("newTranscriptionActive: \(newTranscriptionActive)")
}
- But on Teams client it will show both
recording
andtranscription
is on - And when the Teams client Stop transcription, the sdk does not receive event that isTranscriptionActive = false
To Reproduce Steps to reproduce the behavior:
- Join teams interop meeting
- Start recording from teams client (will start both recording+transcription)
- Print from delegate method will observe the following event
- newTranscriptionActive: true
- newTranscriptionActive: false (this should not happen)
- newRecordingActive: true
- Stop transcription from teams client, but does not receive
isTranscriptionActive=false
Expected behavior A clear and concise description of what you expected to happen.
- When starting recording from Teams client will start both recording and transcription
- Should receive
isTranscriptionActive=true
andisRecordingActive=true
, the transcription should not receive additional event saying its false when Teams have transcriptionActive
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: iPhoneSE
- OS: iOS
- Version: 14.8
Additional context Add any other context about the problem here.
Thank you for reporting, we'll investigate this issue #ADO 2595833