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

is this api still working #15

Open
chdyldz opened this issue Jan 1, 2024 · 0 comments
Open

is this api still working #15

chdyldz opened this issue Jan 1, 2024 · 0 comments

Comments

@chdyldz
Copy link

chdyldz commented Jan 1, 2024

I tried your api with the example code in read.me I got 401 error
I am trying to use your api via example code that u share when I run I got 401 error in GSpeechDuplex.class
I release that you didnt add google api key, blow code block that u use in GspeechDuplex.class.

        String API_DOWN_URL = "https://www.google.com/speech-api/full-duplex/v1/down?maxresults=1&pair=" + PAIR;
        String API_UP_URL = "https://www.google.com/speech-api/full-duplex/v1/up?lang=" + this.language + "&lm=dictation&client=chromium&pair=" + PAIR + "&key=" + this.API_KEY + "&continuous=true&interim=true";
        Thread downChannel = this.downChannel(API_DOWN_URL);
        Thread upChannel = this.upChannel(API_UP_URL, tl, af);

There is no google api key in API_DOWN_URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant