[iOS] teams_interop recordingFeature and transcriptionFeature is not properly reflected
- Dominant language
- No language data
- Stars
- 340
- Forks
- 113
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
A clear and concise description of what the bug is.
- In the `'AzureCommunicationCalling` version `1.1.0-beta.1` is working, but there was a breaking change in `2.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` and `transcription`, but the delegate method with the following code will receive these 3 events in order:
1. newTranscriptionActive: true
2. newTranscriptionActive: false
3. 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` and `transcription` 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:
1. Join teams interop meeting
2. Start recording from teams client (will start both recording+transcription)
3. Print from delegate method will observe the following event
1. newTranscriptionActive: true
2. newTranscriptionActive: false (this should not happen)
3. newRecordingActive: true
4. 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` and `isRecordingActive=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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.