from pylsl import StreamInlet, resolve_stream, stream_info
streams = resolve_stream('type', 'NIRS')
Output of streams would be [<pylsl.pylsl.StreamInfo at 0x7x7f73a7ec70a0>,<pylsl.pylsl.StreamInfo at 0x7x7f73a7ec7160>] and this changes every time.
How do I get the device name from the StreamInfo which tells me something like Aurora(iMAC), Aurora is the software which we user to stream data and iMAC could be name of the system?
Output of
streams
would be[<pylsl.pylsl.StreamInfo at 0x7x7f73a7ec70a0>,<pylsl.pylsl.StreamInfo at 0x7x7f73a7ec7160>]
and this changes every time.How do I get the device name from the StreamInfo which tells me something like
Aurora(iMAC)
, Aurora is the software which we user to stream data and iMAC could be name of the system?