Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUERY] Cognitive Services speech translation from Android #40478

Open
2 tasks done
eblis opened this issue Jun 4, 2024 · 3 comments
Open
2 tasks done

[QUERY] Cognitive Services speech translation from Android #40478

eblis opened this issue Jun 4, 2024 · 3 comments
Assignees
Labels
Cognitive - Speech customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Track 1

Comments

@eblis
Copy link

eblis commented Jun 4, 2024

Query/Question
Is there a way to allow Cognitive Services Speech client (version 1.34.1) from an Android application to be given a sockets factory or a specific network to use ?

I have an Android application which keeps multiple networks enabled and working at the same time, specifically Wi-Fi and Mobile data. Although Wi-FI is working and connected, it is connected to a network without internet access, which is the reason why Mobile-Data is also enabled, this is the network which has internet access.

I'm trying to use the Speech-To-Text library to translate some text, but the library keeps trying to use the Wi-Fi network to connect to Azure servers and it fails because Wi-Fi network doesn't have internet access.

Is there any way to provide a network to use to the CognitiveServices library, or a Socket Factory ? Or an HttpClient instance ?
Anything that would let me, the user of the library, to tell the library which networks and connections it can use ?

Why is this not a Bug or a feature Request?
I'm not sure at this point if it's a feature, if there's no way to do what I'm asking then it should be considered a new feature request.

Setup (please complete the following information if applicable):

  • OS: [e.g. iOS] Android OS
  • IDE: [e.g. IntelliJ] IntelliJ
  • Library/Libraries: implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.34.1'

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Query Added
  • Setup information Added
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jun 4, 2024
@github-actions github-actions bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jun 10, 2024
@joshfree joshfree added Service Attention This issue is responsible by Azure service team. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jun 10, 2024
@github-actions github-actions bot removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jun 10, 2024
Copy link

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @oscholz @robch.

@vcolin7 vcolin7 self-assigned this Jun 11, 2024
@vcolin7
Copy link
Member

vcolin7 commented Jun 11, 2024

Hi @eblis, thanks for reaching out about the Cognitive Speech library for Java. We don't host the source
code for it here, but I've reached out to some people that might be better suited to help.

@oscholz, @robch, @rhurey Would you mind taking a look when you get a chance?

@rhurey
Copy link
Member

rhurey commented Jun 11, 2024

@eblis, thanks for the question and using the Speech SDK.

Unfortunately we don't have a way to specify the source network adapter for the connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cognitive - Speech customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team. Track 1
Projects
None yet
Development

No branches or pull requests

5 participants