Start Stream
start_streamConnect an EEG device and begin a live streaming session; requires confirmation and a device test first, with an idle watchdog to stop abandoned streams.
Instructions
Connect an EEG device and START a live streaming session on the user's head. Requires confirm=True; call test_device first. Track with stream_status(). Idle watchdog: if no stream_status()/get_live_session() poll happens for idle_timeout_sec (default 900), the session is stopped and the device disconnected automatically — an abandoned stream never keeps running on the user's head. Any poll resets the timer; idle_timeout_sec=0 disables the watchdog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| confirm | No | ||
| ip_port | No | ||
| source_id | No | ||
| chunk_size | No | ||
| ip_address | No | ||
| n_channels | No | ||
| session_id | No | ||
| device_type | Yes | ||
| mac_address | No | ||
| stream_name | No | ||
| serial_number | No | ||
| connection_type | No | ||
| idle_timeout_sec | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||