How to start and stop a media stream (or video element) on button press

Viewed 20

im trying to make a video recorder (code here: https://github.com/callmeclover/fullStream) but i need a way to make the media stream and/or video element stop on the event of a button being pressed. please help, thanks!

0 Answers
Related