|
|
@ -69,7 +69,11 @@ class BLPHub(): |
|
|
|
self.__lastFrameTimeout = ( |
|
|
|
self.__lastFrameTimeout = ( |
|
|
|
currentTime + self.__streams[stream]['timeout'] |
|
|
|
currentTime + self.__streams[stream]['timeout'] |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
try: |
|
|
|
self.__output.sendFrame(frame) |
|
|
|
self.__output.sendFrame(frame) |
|
|
|
|
|
|
|
except Exception as e: |
|
|
|
|
|
|
|
# TODO better error handling |
|
|
|
|
|
|
|
print('could not send frame: %s' % (repr(e))) |
|
|
|
return True |
|
|
|
return True |
|
|
|
|
|
|
|
|
|
|
|
return False |
|
|
|
return False |
|
|
|