From 8b523e2dac89c898bfddebd708d9c26be2a56298 Mon Sep 17 00:00:00 2001 From: Christian Glassiognon <63924603+heyglassy@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:47:24 -0700 Subject: [PATCH 1/4] live view docs update --- observability/live-view.mdx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/observability/live-view.mdx b/observability/live-view.mdx index 6380e94..a40bf40 100644 --- a/observability/live-view.mdx +++ b/observability/live-view.mdx @@ -29,15 +29,23 @@ 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&fr=60readOnly=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 + +We support framerates between 30 - 60 fps on 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). From 29ee072fab24d486a88171889cdfb6f95ea6f72f Mon Sep 17 00:00:00 2001 From: Christian Glassiognon <63924603+heyglassy@users.noreply.github.com> Date: Fri, 18 Jul 2025 13:48:02 -0700 Subject: [PATCH 2/4] correct example --- observability/live-view.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/observability/live-view.mdx b/observability/live-view.mdx index a40bf40..1279ba1 100644 --- a/observability/live-view.mdx +++ b/observability/live-view.mdx @@ -34,7 +34,7 @@ kernel logs --follow Configuring the live view by setting query parameters on your `browser_live_view_url`. ``` -https://api.onkernel.com/browser/live?w=1024&h=768&fr=60readOnly=false&jwt= +https://api.onkernel.com/browser/live?w=1024&h=768&r=60readOnly=false&jwt= ``` - `w` / `width` (num): sets the width of the VM's screen in pixels. From f4be48226ebbd75fc355c51f46a0a39c25962bae Mon Sep 17 00:00:00 2001 From: Christian Glassiognon <63924603+heyglassy@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:31:26 -0700 Subject: [PATCH 3/4] mesa --- observability/live-view.mdx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/observability/live-view.mdx b/observability/live-view.mdx index 1279ba1..7a3399a 100644 --- a/observability/live-view.mdx +++ b/observability/live-view.mdx @@ -34,7 +34,8 @@ kernel logs --follow 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=60readOnly=false&jwt= +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. From 6d30d88b945e298d34ea21830ebcfec64d09094b Mon Sep 17 00:00:00 2001 From: Christian Glassiognon <63924603+heyglassy@users.noreply.github.com> Date: Mon, 21 Jul 2025 10:32:53 -0700 Subject: [PATCH 4/4] default --- observability/live-view.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/observability/live-view.mdx b/observability/live-view.mdx index 7a3399a..7dbce66 100644 --- a/observability/live-view.mdx +++ b/observability/live-view.mdx @@ -45,7 +45,7 @@ https://api.onkernel.com/browser/live?w=1024&h=768&r=60&readOnly=false&jwt= ### Framerate -We support framerates between 30 - 60 fps on increments of 10. +By default framerate is set to 30 fps, however, we support framerates between 30 - 60 fps by increments of 10. ## Browser persistence