Hi all,
mne_lsl ver: 1.8
OP: Win 10
I switched from mne_lsl from lsl and wish to have a remote connection through IP. Normally according to LSL documentation this is done by setting lsl_api.cfg configuration file. I set IP for the outlet stream device’s as ‘Known Peer’, but not able to establish connection through remote machine. I could not find similar documentation as to whether mne_lsl also uses same configuration file for remote connection. This is the code that I am using:
import mne_lsl, os
os.environ[‘LSLAPICFG’] = ‘./lsl_api.cfg’
print(“looking for an EEG stream…”)
streams = mne_lsl.lsl.resolve_streams(timeout=60.0, stype=‘EEG’)
inlet = mne_lsl.lsl.StreamInlet(streams[0])
inlet.open_stream()
sinfo = inlet.get_sinfo()
Which currently sort of times out without finding a stream.
Configuration file is configured according to below documentation:
https://labstreaminglayer.readthedocs.io/info/lslapicfg.html
LSL Stream is from a proprietary software from the EEG headset I have, and works fine in local network.
Any ideas/help appreciated.