muaz-khan / RecordRTC

RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
https://www.webrtc-experiment.com/RecordRTC/
MIT License
6.53k stars 1.75k forks source link

Whammy.Video#add will not accept canvas, context, or dataURL #336

Open ryanscottaudio opened 6 years ago

ryanscottaudio commented 6 years ago

When passing canvas: Uncaught Input must be formatted properly as a base64 encoded DataURI of type image/webp When passing context: Uncaught Input must be formatted properly as a base64 encoded DataURI of type image/webp When passing dataURL: Uncaught TypeError: Cannot use 'in' operator to search for 'canvas' in data:,

ryanscottaudio commented 6 years ago

Sorry, actually only seems to apply to passing dataURL; the other errors are my fault.

tomasdev commented 6 years ago

This project is using some kind of either outdated or modified version of Whammy. In https://github.com/antimatter15/whammy/blob/master/whammy.js#L496 it accepts canvas... :(