Skip to main content

Module relay

Module relay 

Source
Expand description

Local-to-network LSL stream relay (docs/roadmap.md, step 4).

A liblsl outlet does not speak seq/1, resume/1, dgram/1, or store-and-forward. StreamRelay attaches to an existing LSL outlet (for example a liblsl device driver on the same machine) and republishes its description, sample bits, and timestamps through a labstream Outlet. Downstream labstream inlets then cross the bad link with all negotiated features active.

Structs§

RelayOptions
Options for StreamRelay::start.
StreamRelay
A live relay forwarding one source LSL stream into a labstream Outlet.

Constants§

DEFAULT_SUFFIX
Default suffix appended to relayed stream names and source_id values.
RELAY_DESC_TAG
XML tag appended to <desc> of a relayed stream so an inlet can tell a relayed stream from its source stream even when the names match.

Functions§

build_relayed_info
Build the relayed StreamInfo from a full source description.
is_relayed
True when info describes a stream published by a labstream relay.