You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we have camera.js, audio.js, and screen_capture_device.js it would be smart to genericize the code and logic they all share and move it to a single extendable class object. This would cut down on complexity, improve readability, and streamline bugfixes and future enhancement.
Behavior like constraint handling, recorder calls, and creating some common UI elements can likely be shared.
Each class can then implement custom behavior (audio.js recording to .wav file, camera.js and screen_capture_device rendering to canvas, etc)
The text was updated successfully, but these errors were encountered:
Now that we have camera.js, audio.js, and screen_capture_device.js it would be smart to genericize the code and logic they all share and move it to a single extendable class object. This would cut down on complexity, improve readability, and streamline bugfixes and future enhancement.
Behavior like constraint handling, recorder calls, and creating some common UI elements can likely be shared.
Each class can then implement custom behavior (audio.js recording to .wav file, camera.js and screen_capture_device rendering to canvas, etc)
The text was updated successfully, but these errors were encountered: