Use this page if you want the transport model and platform constraints, not a full walkthrough. If you want numbered steps for an existing app, use Stream Muse-Compatible EEG Over Web Bluetooth. If you want the scaffold path, use Build Your First Elata App.Documentation Index
Fetch the complete documentation index at: https://docs.elata.bio/llms.txt
Use this file to discover all available pages before exploring further.
Role in the SDK: camera rPPG is the usual first app. EEG is optional when you need brain signals. Web Bluetooth (
eeg-web-ble with eeg-web) enables a live Muse-compatible headset. It is transport for EEG, not a parallel primary product to rPPG.Start With A Known-Good Scaffolded App
If you want the fastest path to a working browser BLE example, scaffold the EEG starter app first:Requirements
- Chrome, Edge, or Bluefy on iOS
https://orlocalhost- Bluetooth enabled on the machine
- A supported Muse-compatible EEG device
- Muse 2 and Muse S classic BLE devices
- Muse S Athena protocol v2 devices
- The synthetic Muse-compatible BLE bridge used for testing
For browser BLE, use Chrome on desktop or Android, or Bluefy on iOS. Do not expect Safari itself to handle this workflow.
Install
Minimal Integration
Typical Flow
- Confirm the app is running in a secure context.
- Construct
BleTransport. - Provide
athenaDecoderFactoryif you need Athena support. - Subscribe to frame and status callbacks.
- Call
connect()and thenstart().
When To Use The BLE Template Instead
Prefer the scaffoldedeeg-demo app, or the dedicated eeg-ble starter, when you want:
- a quick environment check for browser BLE support
- a reference for transport startup and status handling
- a simpler starting point than wiring the callbacks from scratch
Common Gotchas
- If
navigator.bluetoothis missing, you are likely in an unsupported browser or non-secure context. - If the device chooser never appears, confirm Bluetooth is enabled and the page is served from
https://orlocalhost. - If Athena devices fail to decode, make sure you pass an
athenaDecoderFactorybacked by@elata-biosciences/eeg-web. - If you need a normal iOS browser path, plan for a native bridge or hybrid strategy instead of Safari. The browser BLE guidance here assumes Bluefy on iOS.
Next
BLE Live Stream Tutorial
Step-by-step streaming guide
EEG In A Browser
Browser EEG package model
eeg-web-ble Reference
Transport API and options
Troubleshooting
Common failures and fixes