Communication icon indicating copy to clipboard operation
Communication copied to clipboard

[iOS] teams_interop recordingFeature and transcriptionFeature is not properly reflected

Open jimchou-dev opened this issue 3 years ago • 1 comments

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
  4. newTranscriptionActive: true
  5. newTranscriptionActive: false (this should not happen)
  6. newRecordingActive: true
  7. 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. image

Smartphone (please complete the following information):

  • Device: iPhoneSE
  • OS: iOS
  • Version: 14.8

Additional context Add any other context about the problem here.

jimchou-dev avatar Sep 21 '21 18:09 jimchou-dev

Thank you for reporting, we'll investigate this issue #ADO 2595833

akania avatar Sep 23 '21 22:09 akania