summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daq/flumotion-plug/s5.py2
-rwxr-xr-xsrc/daq/flumotion-rrd/s5-flumotion-rrd.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/daq/flumotion-plug/s5.py b/src/daq/flumotion-plug/s5.py
index 0fe6c24..d8f7f3c 100644
--- a/src/daq/flumotion-plug/s5.py
+++ b/src/daq/flumotion-plug/s5.py
@@ -155,7 +155,7 @@ class ComponentSFivePlug(base.ComponentPlug):
self._sfivepoller.start()
def _sendInit(self):
- initdata = { "hostname": self._hostname,
+ initdata = { "version": 1, "hostname": self._hostname,
"streamer-id": { "content-id": self._content_id, "format": self._format, "quality": self._quality },
"tags": self._tags }
self._proto.sendDatagram('%s\n' % (json.dumps(initdata)))
diff --git a/src/daq/flumotion-rrd/s5-flumotion-rrd.py b/src/daq/flumotion-rrd/s5-flumotion-rrd.py
index 6809d20..bef9488 100755
--- a/src/daq/flumotion-rrd/s5-flumotion-rrd.py
+++ b/src/daq/flumotion-rrd/s5-flumotion-rrd.py
@@ -163,7 +163,7 @@ class FlumotionRRD():
reactor.stop()
def _sendInit(self):
- initdata = { "hostname": self._hostname,
+ initdata = { "version": 1, "hostname": self._hostname,
"streamer-id": { "content-id": self._content_id, "format": self._format, "quality": self._quality },
"tags": self._tags }
self._proto.sendDatagram('%s\n' % (json.dumps(initdata)));