Browser Screen Recorder With Floating Camera and PiP
Apps & experiments · Creator, sole engineer · shipped
Recording a product demo means either installing a heavyweight desktop recorder or using a screen-share tool that gives you no camera overlay and a file you then have to edit.
Code: https://github.com/vasu-devs/Ocular
The detail
This runs entirely on browser media APIs - screen capture for the display stream, the media recorder for encoding, and Picture-in-Picture for a floating camera bubble that survives tab switching.
Nothing is installed and nothing is uploaded. The recording stays on the machine unless the user chooses to save it.
React, TypeScript, Vite, Framer Motion.
What I did
- Built screen and camera capture entirely on browser media APIs with no native install
- Implemented a floating camera bubble that survives tab switching using Picture-in-Picture
- Built drag and snap behaviour for the camera overlay
- Kept recordings local so nothing is uploaded unless the user saves it
Stack
React, TypeScript, Vite, Browser APIs, Media Recording, Framer Motion
Case study: https://www.siddhvasudev.com/projects/browser-screen-recorder-with-floating-camera