mne_lsl.lsl.resolve_streams🔗
- mne_lsl.lsl.resolve_streams(timeout=1.0, name=None, stype=None, source_id=None, minimum=1)[source]🔗
Resolve streams on the network.
This function returns all currently available streams from any outlet on the network. The network is usually the subnet specified at the local router, but may also include a group of machines visible to each other via multicast packets (given that the network supports it), or list of hostnames. These details may optionally be customized by the experimenter in a configuration file (see Network Connectivity in the LSL wiki).
- Parameters:
- timeout
float Timeout (in seconds) of the operation. If this is too short (e.g.
< 0.5 seconds) only a subset (or none) of the outlets that are present on the network may be returned.- name
str|None Restrict the selected streams to this name.
- stype
str|None Restrict the selected stream to this type.
- source_id
str|None Restrict the selected stream to this source ID.
- minimum
int Minimum number of stream to return when restricting the selection. As soon as this minimum is hit, the search will end. Only works if at least one of the 3 identifiers
name,stypeorsource_idis notNone.
- timeout
- Returns:
- sinfos
list List of
StreamInfoobjects found on the network. While aStreamInfois not bound to an Inlet, the description field remains empty.
- sinfos