Skip to content
Dashboard

Stream screencast frames

client.computers.retrieveScreencast(stringid, RequestOptionsoptions?): void
GET/computers/{id}/screencast

Stream only screencast frames (base64 JPEG images) using Server-Sent Events (SSE) for live browser viewing

ParametersExpand Collapse
id: string

Stream screencast frames

import Lightcone from '@tzafon/lightcone';

const client = new Lightcone({
  apiKey: process.env['TZAFON_API_KEY'], // This is the default and can be omitted
});

await client.computers.retrieveScreencast('id');
Returns Examples