diff --git a/observability/live-view.mdx b/observability/live-view.mdx index 6380e94..7dbce66 100644 --- a/observability/live-view.mdx +++ b/observability/live-view.mdx @@ -29,15 +29,24 @@ If using Kernel's [app platform](/build/develop), you can tail the logs to print kernel logs --follow ``` -## Query parameters +## Live view configuration -The `browser_live_view_url` supports additional query parameters to customize the live view: +Configuring the live view by setting query parameters on your `browser_live_view_url`. + +``` +https://api.onkernel.com/browser/live?w=1024&h=768&r=60&readOnly=false&jwt= + +``` - `w` / `width` (num): sets the width of the VM's screen in pixels. - `h` / `height` (num): sets the height of the VM's screen in pixels. -- `r` / `rate` (num): sets the live view frame rate in frames per second. The default is 30. +- `r` / `rate` (num): sets the live view framerate in frames per second. The default is 30. - `readOnly` (bool): when set to `true`, the view will be non-interactive. +### Framerate + +By default framerate is set to 30 fps, however, we support framerates between 30 - 60 fps by increments of 10. + ## Browser persistence If you [marked](/launch/browser-persistence) a browser for persistence, `browser_live_view_url` remains active after the invocation ends. It remains active until you [terminate the browser](/launch/browser-termination).