signal_viewer_lsl 0.2.1
signal_viewer_lsl: ^0.2.1 copied to clipboard
Lab Streaming Layer source provider for signal_viewer: discover, view and publish LSL streams (desktop and mobile; a no-op on the web).
signal_viewer_lsl #
Lab Streaming Layer (LSL) streams for
signal_viewer.
LslProvider finds the streams on the network and shows each one in a tab.
It also records streams to XDF, replays recordings as streams, forwards
streams, and shares them with other networks or a browser through the LSL
bridge. The LSL facade, recorder and bridge come from
lsl_tools, which this package
re-exports.
Installation #
flutter pub add signal_viewer signal_viewer_lsl
Usage #
import 'package:signal_viewer/signal_viewer.dart';
import 'package:signal_viewer_lsl/signal_viewer_lsl.dart';
Future<void> main(List<String> args) => runSignalViewer(
args,
config: const ViewerConfig(title: 'My viewer', heading: 'My viewer'),
providers: [LslProvider()],
);
LSL is available on desktop and mobile platforms. The package can be
imported on the web, where LslBackend.supported is false and liblsl is not
loaded.