I managed to find the following demo: https://www.webrtc-experiment.com/RecordRTC/
I can record stream from my webcam and replay it later. I can also right click, save to computer and add
.webm extension to play in a browser.
What I'm looking for is an video editor (can be basic) on top of that:
- trimming (removing unwanted fragments)
- annotations (adding shapes such as arrows to the screen)