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

[Question] Can rrweb capture a WebRTC stream inside a <video> element? #1663

Open
jparez opened this issue Mar 11, 2025 · 0 comments
Open

[Question] Can rrweb capture a WebRTC stream inside a <video> element? #1663

jparez opened this issue Mar 11, 2025 · 0 comments

Comments

@jparez
Copy link

jparez commented Mar 11, 2025

Hi,

I have a web app that launches a third-party module displaying a

In PostHog, which uses rrweb under the hood, I can see all elements of my web app except the video stream, which remains black.

I've read related issues and I believe that rrweb does not capture WebRTC streams. Am I correct? If so, is there any workaround or planned support for this use case?

I also found this issue (#450), where it is mentioned that rrweb does not natively capture video streams and that a custom plugin would be needed.

Additionally, I came across this comment:

"rrweb now has a WebRTC plugin that can easily be modified to stream video files as well as canvas via WebRTC."

Does this mean that by modifying this plugin, PostHog could correctly capture the video stream within my web app?

Or could this PR #1239 help in my case? Since it improves media element recording, would it also work for capturing a WebRTC stream inside a

Thanks!

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

No branches or pull requests

1 participant