/// <summary> /// start streaming thread, store data in internal ringbuffer /// </summary> /// <param name="buffer_size">size of internal ringbuffer</param> /// <param name="streamer_params">supported values: file://%file_name%:w, file://%file_name%:a, streaming_board://%multicast_group_ip%:%port%</param> public void start_stream (int buffer_size = 3600 * 250, string streamer_params = "") { int res = BoardControllerLibrary.start_stream (buffer_size, streamer_params, board_id, input_json); if (res != (int) CustomExitCodes.STATUS_OK) { throw new BrainFlowException (res); } }
public void start_stream(int num_samples = 3600 * 250) { int res = BoardControllerLibrary.start_stream(num_samples, board_id, input_json); if (res != (int)CustomExitCodes.STATUS_OK) { throw new BrainFlowException(res); } }