prepare streaming sesssion, init resources, you need to call it before any other BoardShim object methods
(self)
| 1254 | raise BrainFlowError('unable to release sessions', res) |
| 1255 | |
| 1256 | def prepare_session(self) -> None: |
| 1257 | """prepare streaming sesssion, init resources, you need to call it before any other BoardShim object methods""" |
| 1258 | |
| 1259 | res = BoardControllerDLL.get_instance().prepare_session(self.board_id, self.input_json) |
| 1260 | if res != BrainFlowExitCodes.STATUS_OK.value: |
| 1261 | raise BrainFlowError('unable to prepare streaming session', res) |
| 1262 | |
| 1263 | def add_streamer(self, streamer_params: str, preset: int = BrainFlowPresets.DEFAULT_PRESET) -> None: |
| 1264 | """Add streamer |