BrowserInputSettings interface

Settings for a Browser Input see: NorskInput.browser()

Signature:

export interface BrowserInputSettings extends SourceNodeSettings<BrowserInputNode>, StreamStatisticsMixin

Properties

Property Type Description

frameRate

FrameRate

The frame rate at which to generate video from the web page Note: If the web page is static, this will just mean the initial frame is duplicated at the required frame rate

onBrowserEvent?

(event: BrowserEvent) ⇒ void

(Optional) An optional callback for reacting to events from the embedded browser At the very least this is useful for logging events (such as a 404)

resolution

{ width: number; height: number; }

This is the resolution of the window opened to render the page This is therefore also output resolution of the generated video

sourceName

string

The source name to populate the outgoing stream key with

url

string

The url to load in the browser session