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

How to record audio? #604

Open
divinity76 opened this issue Feb 14, 2024 · 2 comments
Open

How to record audio? #604

divinity76 opened this issue Feb 14, 2024 · 2 comments

Comments

@divinity76
Copy link
Contributor

How can I record audio?

I know I can record video/rendering frames with Page.startScreencast + method:Page.screencastFrame , but don't know about audio

@enricodias
Copy link
Member

I don't know if that's possible. I didn't see audio mentioned anywhere in the docs. The screencast is just like a sequence of screenshots.

@divinity76
Copy link
Contributor Author

Seems there is an experimental WebAudio API in DevTools Protocol: https://chromedevtools.github.io/devtools-protocol/tot/WebAudio/#event-audioListenerCreated

I haven't tried actually implementing it /yet/ but seems it's possible 🤔

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

No branches or pull requests

2 participants