Capturing video and/or audio off the web page

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

Capturing video and/or audio off the web page

Postby denisv » Wed Oct 18, 2023 12:53 pm

Hello, everyone.

I'm trying to develop an automatic bot for recording battles in browser canvas-based online game.
So far I've tried chrome plugin, and while I succeeded in capturing video off the canvas, the issue is with audio.
The game uses Howler.js to mix audio to play various sounds at the same time and options to automate audio capture with chrome extensions is very limited, because it actually requires user interaction, which is a no go to me.

So I was wondering if there are any ways to intercept audio/video "as is" being played on a webpage using CEF sharp, considering I'll do it in a on-screen buffer, so no off-screen shenanigans.
I suppose I can record video using JS I'll inject into the page, so if it's possible to record only audio it will help me a lot as well.

Thanks in advance,
Denis.
denisv
Techie
 
Posts: 12
Joined: Fri Feb 12, 2021 5:02 pm

Re: Capturing video and/or audio off the web page

Postby amaitland » Thu Oct 19, 2023 9:18 pm

Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 144 guests