UNPKG

@virtualscenery/greenscreenstream

Version:

Genereate new MediaStreams or Canvas elements based on MediaStreams (webcam) with any background image/video. Greenscreen your webcam and enable virtual backgrounds in your web applications.

17 lines (16 loc) 542 B
/** * Represents the settings for texture processing, including configuration for background and webcam textures. * * @property background - Configuration for the background texture. * @property background.fn - A function associated with the background texture. * @property webcam - Configuration for the webcam texture. * @property webcam.fn - A function associated with the webcam texture. */ export interface ITextureSettings { background: { fn: Function } webcam: { fn: Function } }