-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: get audio through getDisplayMedia
or tabCapture
#109
Comments
Just FYI some browser-quirks for this if you want to implement it:
Could you explain how it is bad for cross-origin security? From my understanding, especially with |
Thanks for the insights!
If a malicious site has a media element with a cross-origin source, in theory it should not be allowed to learn its contents, but some of it (volume levels) can be inferred based on observations of |
I understand that it's a very minute thing and it's very unlikely that someone's actually gonna try to exploit this in the next year or so, but still. |
Ah, I see, thank you for the explanation! You're right, since the page can still access the playback rate that does leak some information. But yeah, it would need to be a very specific attack scenario for this to be more useful than current browser-level data leaks, as the extension needs to be installed and activated. But I'll definitely keep that in mind! |
MediaElementAudioSourceNode
is CORS-restricted & b) revertcreateMediaElementSource
WebAudio/web-audio-api#2453 (comment)I believe the only benefit would be the cross-origin circumvention (#47). But since it's circumvention, it could be bad for cross-origin security, so not sure if we need this.
At least this could be made as an option.
The text was updated successfully, but these errors were encountered: