deepgram-devs / dg-translation-chrome-ext

A TypeScript chrome extension that uses Deepgram to provide live transcription and translation
MIT License
10 stars 8 forks source link

No transcription in current Chrome version #32

Open eburnette opened 2 months ago

eburnette commented 2 months ago

Is there an existing issue for this?

What happened?

Nothing got transcribed.

Steps To Reproduce

I built the extension, turned on developer mode, loaded the unpacked extension, and pinned the icon. Then, I started up a couple of YouTube tabs, went to the first one, clicked the icon, added my API, and clicked the button to start transcription. I got a prompt to pick the tab so I picked the other YouTube tab (the current one was not listed because the sample doesn't specify selfBrowserSurface: "include"), shared audio, confirmed, and nothing happened. I tried talking, playing video, and stopping transcription. No transcription shows up in the popup window.

I think the sample may be out of date with current Chrome versions. I see this error in the dev tools console:

Uncaught DOMException: Failed to execute 'start' on 'MediaRecorder': There was an error starting the MediaRecorder.

image

Note there's a similar problem in the transcription-chrome-extension example; see https://github.com/deepgram-devs/transcription-chrome-extension/issues/3

What browsers are you seeing the problem on?

No response

Environment

- OS: Windows
- Node: v20.14.0
- yarn: 1.22.22
- Chrome Version 127.0.6533.73 (Official Build) (64-bit)

Anything else?

No response

Code of Conduct