Skip to content

Commit

Permalink
Merge pull request #7 from gmierz/master
Browse files Browse the repository at this point in the history
Add PyLSL data format version.
  • Loading branch information
papr committed Nov 9, 2019
2 parents a98d764 + 49a9797 commit c6d78d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pupil_lsl_relay.py
Expand Up @@ -18,6 +18,7 @@
from plugin import Plugin
from pyglui import ui

VERSION = '2.0'

logger = logging.getLogger(__name__)
logger.setLevel(logging.DEBUG)
Expand Down Expand Up @@ -98,6 +99,7 @@ def construct_streaminfo(self):
channel_format=lsl.cf_double64,
source_id=self.outlet_uuid,
)
stream_info.desc().append_child_value("pupil_lsl_relay_version", VERSION)
xml_channels = stream_info.desc().append_child("channels")
for chan in self.channels:
chan.append_to(xml_channels)
Expand Down

0 comments on commit c6d78d2

Please sign in to comment.