mne_lsl.lsl.set_config_content🔗

mne_lsl.lsl.set_config_content(content)[source]🔗

Set the liblsl configuration from an in-memory string.

Provide the configuration content directly as a string, e.g. for platforms where configuration files or environment variables are not convenient (see Network Connectivity in the LSL wiki).

Parameters:
contentstr

Content of the configuration, in the same format as a configuration file.

Notes

This function must be called before any other liblsl operation, e.g. before creating a StreamInfo, StreamInlet or StreamOutlet, as the configuration is loaded once on the first call requiring it. It requires liblsl >= 1.17.7.