streamproc / MediaStreamRecorder

Cross browser audio/video/screen recording. It supports Chrome, Firefox, Opera and Microsoft Edge. It even works on Android browsers. It follows latest MediaRecorder API standards and provides similar APIs.
https://www.webrtc-experiment.com/msr/
MIT License
2.63k stars 562 forks source link

Use PNaCl extension for Chrome instead of Whammy.js #43

Open sfarthin opened 9 years ago

sfarthin commented 9 years ago

Chrome will be releasing a video encoding pepper API for with Chrome 45. Since using Chrome's Portable Native Extensions (PNaCl) is invisible to the user (no installation steps necessary), I think it would be a good fit for your library. The Whammy method is interesting, but I cannot see it being used for any production use.

Example using the encoder: https://codereview.chromium.org/937643006/

There are still some issues with the example given and I am working with the Chromium team to address them:

https://codereview.chromium.org/1218513003 https://codereview.chromium.org/1187193006/ https://code.google.com/p/chromium/issues/detail?id=503153

sfarthin commented 9 years ago

Heres an example: https://github.com/sfarthin/pnacl_video_encode

With Chrome 45 you can test it here: http://sfarthin.github.io/pnacl_video_encode/video_encode.html Chrome 45 is in dev stage, but you can use Chrome Canary to try the example.

positlabs commented 8 years ago

+1

I'm just starting to explore the PNaCL video encoder, but it's crazy fast so far. I recommend we create a separate, dedicated repository for PNaCL encoder, then integrating into MediaStreamRecorder.