DocsVideo Recordingbrowser_start_live_stream

browser_start_live_stream

Browser Start Live Stream

Start a live MJPEG video stream of the browser session accessible via HTTP. Returns a stream URL that can be viewed in any browser or video player. Useful for real-time monitoring of browser activity.

Usage Example

1234567891011
import asyncio
from owl_browser import OwlBrowser, RemoteConfig
# Async usage
async with OwlBrowser(config) as browser:
context = await browser.create_context()
context_id = context["context_id"]
await browser.start_live_stream(
context_id=context_id
)

Parameters

Required

context_idstringrequired

The unique identifier of the browser context (e.g., 'ctx_000001')

Optional

fpsstring

Target frames per second for the stream. Higher values give smoother video but more bandwidth. Default: 15. Recommended range: 5-30

qualitystring

JPEG compression quality from 1 (lowest/smallest) to 100 (highest/largest). Default: 75. Lower values reduce bandwidth but decrease image clarity

Response

Returns a JSON object with the operation result.

{
  "success": true,
  "result": <value>
}