matrice 1.0.99243__py3-none-any.whl → 1.0.99244__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -360,7 +360,7 @@ class AutoStreaming:
360
360
 
361
361
  return self.streaming_gateways
362
362
 
363
- def start(self) -> bool:
363
+ def start(self, send_to_api: bool = False) -> bool:
364
364
  """
365
365
  Start auto streaming for all configured streaming gateways.
366
366
 
@@ -388,7 +388,7 @@ class AutoStreaming:
388
388
  # Create and start streaming thread
389
389
  thread = threading.Thread(
390
390
  target=self._streaming_worker,
391
- args=(gateway_id, gateway),
391
+ args=(gateway_id, gateway, send_to_api),
392
392
  name=f"AutoStream-{gateway_id}",
393
393
  daemon=True,
394
394
  )
@@ -421,7 +421,7 @@ class AutoStreaming:
421
421
  )
422
422
  return True
423
423
 
424
- def _streaming_worker(self, gateway_id: str, gateway: StreamingGateway):
424
+ def _streaming_worker(self, gateway_id: str, gateway: StreamingGateway, send_to_api: bool = False):
425
425
  """
426
426
  Worker thread for streaming a specific gateway.
427
427
 
@@ -431,7 +431,7 @@ class AutoStreaming:
431
431
  """
432
432
  try:
433
433
  # Start streaming
434
- success = gateway.start_streaming()
434
+ success = gateway.start_streaming(send_to_api=send_to_api)
435
435
 
436
436
  if success:
437
437
  AutoStreamingUtils.update_stream_status(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99243
3
+ Version: 1.0.99244
4
4
  Summary: SDK for connecting to matrice.ai services
5
5
  Home-page: https://github.com/matrice-ai/python-sdk
6
6
  Author: Matrice.ai
@@ -104,7 +104,7 @@ matrice/deploy/client/client_stream_utils.py,sha256=IcJf8Xn8VMrvxplKqSP5qNIwvu8-
104
104
  matrice/deploy/client/client_utils.py,sha256=cJ47Q-BWkYCXMdCz__6VlfpMroq1kb8tZ887rdOZI24,14548
105
105
  matrice/deploy/client/frame_comparators.py,sha256=s5K-C3N2yeVz8XSPdvmKO_MX8x6rLKgd6Bs6DEBpaNw,20536
106
106
  matrice/deploy/client/auto_streaming/__init__.py,sha256=4mwoPkADPDWGwxokxFgL2HFppqsIlym29634iXvBcR0,413
107
- matrice/deploy/client/auto_streaming/auto_streaming.py,sha256=8XyBYJsvuzkPKadmEu_O8OK-3-d8bgw6jsKQhPhtZfY,25447
107
+ matrice/deploy/client/auto_streaming/auto_streaming.py,sha256=uccYMz2-5YxiB4J4oTfNgyMp6A8UvGkmSyVXkG1WGC4,25537
108
108
  matrice/deploy/client/auto_streaming/auto_streaming_utils.py,sha256=BuRUokLp3t43yzRF8YSX9p_RHQD94RoBwNEoldXFDQo,14995
109
109
  matrice/deploy/client/streaming_gateway/__init__.py,sha256=hkYC0qszaXZThquMuuI20Qkt_AHCB3pdy7jlJVeqPN4,1203
110
110
  matrice/deploy/client/streaming_gateway/streaming_gateway.py,sha256=r8Z5AXBom89n-8W5RTlB-nOeUaprxK-QBDsAb-E9gl8,19605
@@ -242,8 +242,8 @@ matrice/deployment/camera_manager.py,sha256=e1Lc81RJP5wUWRdTgHO6tMWF9BkBdHOSVyx3
242
242
  matrice/deployment/deployment.py,sha256=HFt151eWq6iqIAMsQvurpV2WNxW6Cx_gIUVfnVy5SWE,48093
243
243
  matrice/deployment/inference_pipeline.py,sha256=6b4Mm3-qt-Zy0BeiJfFQdImOn3FzdNCY-7ET7Rp8PMk,37911
244
244
  matrice/deployment/streaming_gateway_manager.py,sha256=ifYGl3g25wyU39HwhPQyI2OgF3M6oIqKMWt8RXtMxY8,21401
245
- matrice-1.0.99243.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
246
- matrice-1.0.99243.dist-info/METADATA,sha256=Omqh3YD4XTzi69l7lE9PbskTZmKiw6NCnvhwJbj76nw,14624
247
- matrice-1.0.99243.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
248
- matrice-1.0.99243.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
249
- matrice-1.0.99243.dist-info/RECORD,,
245
+ matrice-1.0.99244.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
246
+ matrice-1.0.99244.dist-info/METADATA,sha256=s8O6k7WpOGpfOdZrS6SMNjwF_0-glIo5j4KBhg2_QNA,14624
247
+ matrice-1.0.99244.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
248
+ matrice-1.0.99244.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
249
+ matrice-1.0.99244.dist-info/RECORD,,