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

Use MediaRecorder? #185

Open
jimmywarting opened this issue May 24, 2021 · 1 comment
Open

Use MediaRecorder? #185

jimmywarting opened this issue May 24, 2021 · 1 comment

Comments

@jimmywarting
Copy link

It's seems like a lots of stuff going just to record a simple mediastream from the webcam by using the canvas element and working with frames

Guessing there is some frame drops cuz of all the heavy work that has to be manually done in javascript. Guess this was/is old technic when MediaRecorder wasn't around.

How about dropping all of that canvas stuff and use MediaRecorder instead?

@binarykitchen
Copy link
Owner

Yep, time for a big rewrite @jimmywarting - totally aware of it. Just lacking time.

Mind you, this videomail-client existed for more than 6 years when that Media Stream API wasn't available yet. Hence, all those hacks around canvas ;)

Also, browser support for that API was poor over those years and evolved only very slowly ... with the existing solution I was ahead of everyone else during those years and were able to do to any cool stuff and customisations.

If I won $50k in lotto, I'd sit down and enjoy rewriting all that, grins.

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

2 participants