Last Updated on August 5, 2023 by pg@petergamma.org
https://www.fieldtriptoolbox.org/development/realtime/emotiv/
One of the developers of FieldTrip is Robert Oostenveld:
https://pubmed.ncbi.nlm.nih.gov/21253357/
Unfortunately, we do not have yet a realtime data stream from the Emotiv Epoc Flex to FieldTrip, but Emotiv offers several SDK options.