Re: [crx] unable to use chrome tab capture

45 views
Skip to first unread message

Patrick Kettner

unread,
Jun 14, 2023, 9:28:24 PM6/14/23
to Vivek Sagar, Chromium Extensions
Hi Vivek
Would you be able to share more of your code so I could reproduce the problem?

On Mon, Jun 5, 2023 at 2:56 PM Vivek Sagar <vivek...@gmail.com> wrote:
i am having a problem that how can i actually capture tab audio persistently like i want to modify sound coming from tabs which i can do using  web audio api but the main problem is that i want to acess it even if the browser is minimize and till the browser get closed.

also 
  chrome.tabCapture.capture({ audio: true }, (stream) => {
    // Continue to play the captured audio to the user.
    const output = new AudioContext();
    const source = output.createMediaStreamSource(stream);
    source.connect(output.destination);
 
    // TODO: Do something with the stream (e.g record it)
  });

chrome tabCapture didnt work it show an error that chrome tabs is not a function undefined

--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/5ea874f4-7085-4a67-9b49-2bbd3917525an%40chromium.org.
Reply all
Reply to author
Forward
0 new messages