Spout.SpoutSender.new

From GiderosMobile
Revision as of 00:03, 13 November 2026 by MoKaLux (talk | contribs)

Available since: Gideros 2019.5
Class: Spout

Description

Creates a new sender and registers it on the machine.

(SpoutSender) = SpoutSender.new(name,width,height)

Parameters

name: (string) the sender name other applications will see, for example "Gideros_Live_Output". It must be unique on the machine; Spout appends "_1", "_2", ... when it is already registered
width: (number) width of the shared stream in pixels
height: (number) height of the shared stream in pixels

Return values

Returns (SpoutSender) the new sender object