예제 #1
0
 def connect(self, ip, port=801, defaults=True):
     stat = pyvicon.connect(self._c, "{}:{}".format(ip, port))
     if stat and defaults:
         pyvicon.enableSegmentData(self._c)
         pyvicon.enableMarkerData(self._c)
         pyvicon.setStreamMode(self._c, self.SM_ClientPull)
     return stat
예제 #2
0
 def setStreamMode(self, streamMode):
     return pyvicon.setStreamMode(self._c, streamMode)