def fn(i: pylsl.StreamInfo): return { 'source': i.source_id(), 'mode': 'live', **RelayMode.gen_dict(i.desc()) }