Back to Hub
MEDIA PIPELINE • MAY 2026

Native 60FPS Session Recording via WebCodecs.

Developers love recording their coding sessions for tutorials or debugging, but this usually requires running heavy desktop software like OBS Studio alongside the IDE. The browser's native MediaRecorder API exists, but it offers very little control over bitrates, keyframes, and encoding formats, often resulting in massive, stuttering WebM files.

NitroIDE brings professional-grade video encoding directly into the browser tab by utilizing the low-level WebCodecs API, allowing you to record 60fps coding sessions directly to MP4 with zero dropped frames.

Hardware-Accelerated Encoding

Unlike MediaRecorder, WebCodecs gives us direct access to the individual video frames via a VideoEncoder. We capture the Monaco Editor's Canvas stream, pull the raw VideoFrame objects, and pipe them into the hardware-accelerated H.264 or VP9 encoder built into your machine's CPU/GPU.

// Initializing a hardware-accelerated H.264 encoder
const encoder = new VideoEncoder({
  output: (chunk) => muxIntoMP4Container(chunk),
  error: (e) => console.error(e)
});

encoder.configure({
  codec: 'avc1.420028', // H.264 Baseline Profile
  width: 1920,
  height: 1080,
  bitrate: 5000000, // 5 Mbps for crisp text
  framerate: 60
});

Off-Main-Thread Encoding: Because video encoding is highly intensive, NitroIDE utilizes Transferable streams to pass the VideoFrame objects from the main thread directly to a background Web Worker. The UI stays flawlessly responsive while the background worker crunches the pixels.

The MP4 Muxer

Because the browser does not natively package H.264 frames into a standard .mp4 file container, we integrated a lightweight client-side MP4 muxer. The moment you hit "Stop Recording," NitroIDE instantly triggers a file download of a perfectly formatted, YouTube-ready MP4 file—no external software required.

Record Your Code.

Launch the IDE and try our built-in, hardware-accelerated session recorder.

Launch Workspace