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:
- content
str Content of the configuration, in the same format as a configuration file.
- content
Notes
This function must be called before any other liblsl operation, e.g. before creating a
StreamInfo,StreamInletorStreamOutlet, as the configuration is loaded once on the first call requiring it. It requiresliblsl >= 1.17.7.