
Network sinks
nudpImageSink
Simple UDP-based best-effort protocol. Each image is sent as a
single datagram (if image data is too big... it's not sent).
Example: nudp://host:port?options or nudp://multicastgroup:port?options
Options:
encoding (see nucleo/image/Image.H): image encoding, defaults to JPEG
quality (0-100, see here): quality used when encoding images, defaults to 80
ttl (integer): multicast time to live (1 is subnet, 31 is site, 64 is national, >127 is worldwidefor)
nudppImageSink
Slightly better UDP-based best-effort protocol. Image data is split
in multiple datagrams. If one of the datagrams is lost... the whole image is lost.
Example: nudp://host:port?options or nudp://multicastgroup:port?options
Options:
encoding (see nucleo/image/Image.H): image encoding, defaults to JPEG
quality (0-100, see here): quality used when encoding images, defaults to 80
ttl (integer): multicast time to live (1 is subnet, 31 is site, 64 is national, >127 is worldwidefor)
nserverImageSink
Simple HTTP-based server that will forward images to a set of
clients using the server-push mechanism.
Example: nserver://:port?options
Options:
encoding (see nucleo/image/Image.H): image encoding, defaults to JPEG
quality (0-100, see here): quality used when encoding images, defaults to 80
backlog (integer): number of clients that will be kept waiting while the server accepts an incoming request, defaults to 10
maxclients (integer): maximum number of simultaneous clients, defaults to 10 (when
this limit is reached, the oldest client is disconnected to make room for
the new one)