You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Android] Received ConversationTranslator.participantsChanged Event but ConversationParticipantsChangedEventArgs.participants is empty when Android targetSdkVersion is upper than 29
#2687
Open
Zhangbao-Yan opened this issue
Dec 3, 2024
· 3 comments
A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
val conv =Conversation.createConversationAsync(SpeechTranslationConfig.fromAuthorizationToken(...)).get()
conv.startConversationAsync().get()
val convTranslator =ConversationTranslator(AudioConfig.fromDefaultMicrophoneInput())
convTranslator.participantsChanged.addEventListener(EventHandler { _:Any?, e:ConversationParticipantsChangedEventArgs->Log.d("speeck sdk","participantsChanged::participants=${e.participants}")
})
convTranslator.joinConversationAsync(conv, "randomUserName").get()
Additional information as shown below
Tested Speech SDK 1.25.0, 1.38.0, 1.41.1, the bug can reproduce once bump Android targetSdkVersion upper than 29.
Describe the bug
When I bump Android targetSdkVersion from 29 to 34, the participantsChanged event received empty participants, and it's only happened on my physical devices (LG V60 ThinQ 5G_Android12 & Pixel 6a 5G_Android13), the x86_64 emulator (Android 12, 13, 14) worked fine.
To Reproduce
Steps to reproduce the behavior:
Internet connectivity should be available.
Create a new conversation succeed and get the conversationId correctly.
Create a new ConversationTranslator and add participantsChanged event listener.
Join the Conversation.
Expected behavior
There has at least one participant data when received the participantsChanged event.
Version of the Cognitive Services Speech SDK: 1.41.1
Which version of the SDK are you using.
Hi @Zhangbao-Yan ,
Double confirm the repro steps of physical machine: you connected physical devices to android studio, debug and found it cannot work, is it correct? or you didn't connect devices to android studio?
Speech SDK log: [Android]conversationLogs_SpeechSDK1.14.1_targetSdkVersion30.zip
A stripped down, simplified version of your source code that exhibits the issue. Or, preferably, try to reproduce the problem with one of the public samples in this repository (or a minimally modified version of it), and share the code.
Tested Speech SDK 1.25.0, 1.38.0, 1.41.1, the bug can reproduce once bump Android targetSdkVersion upper than 29.
Describe the bug
When I bump Android targetSdkVersion from 29 to 34, the participantsChanged event received empty participants, and it's only happened on my physical devices (LG V60 ThinQ 5G_Android12 & Pixel 6a 5G_Android13), the x86_64 emulator (Android 12, 13, 14) worked fine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
There has at least one participant data when received the participantsChanged event.
Version of the Cognitive Services Speech SDK: 1.41.1
Which version of the SDK are you using.
Platform, Operating System, and Programming Language
The text was updated successfully, but these errors were encountered: