Introducing the Session Replay API: Stream browser session replays
Blog post from Browserbase
Browserbase has introduced a new Session Replay API that allows users to stream completed browser session replays directly within their own products, enhancing functionality for QA tools, support dashboards, and internal reviews. By using the API, users can retrieve a list of tabs recorded during a session and access HLS playlists for playback through any compatible player, such as Shaka Player, video.js, or Safari's native video support, without the need for re-encoding or custom tokens. The API is designed to ensure security by keeping API keys on the backend, preventing them from reaching the browser, and allows streaming directly from the CDN, avoiding additional server costs. This feature builds upon Browserbase's existing dashboard capabilities, where browser sessions are captured and stored for 31 days, providing a detailed, scrubbable video timeline for analysis. The new API enables companies to integrate these replays seamlessly into their workflow, making it easier to diagnose issues and improve user support by reviewing exact browser sessions.