The screen recorder uses two browser APIs in combination:
- getDisplayMedia(): Requests permission to capture a screen, window, or tab and returns a MediaStream containing the visual content.
- MediaRecorder: Encodes the MediaStream in real time to a compressed video format (WebM in Chrome/Firefox, or MP4 in some environments) and buffers the data in memory.
When recording stops, the buffered data is assembled into a downloadable Blob and offered to the user as a file download. Nothing is ever sent to a server.