matrice-streaming 0.1.59__py3-none-any.whl → 0.1.60__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.
@@ -94,7 +94,7 @@ class AsyncCameraWorker:
94
94
  # SHM_MODE: New parameters for shared memory architecture
95
95
  # ================================================================
96
96
  use_shm: bool = True, # Feature flag (default: existing JPEG behavior)
97
- shm_slot_count: int = 300, # Ring buffer size per camera
97
+ shm_slot_count: int = 1000, # Ring buffer size per camera (increased for consumer lag)
98
98
  shm_frame_format: str = "BGR", # "BGR", "RGB", or "NV12"
99
99
  # ================================================================
100
100
  # PERFORMANCE: New parameters for optimized frame capture
@@ -1308,7 +1308,7 @@ def run_async_worker(
1308
1308
  # SHM_MODE: New parameters for shared memory architecture
1309
1309
  # ================================================================
1310
1310
  use_shm: bool = True,
1311
- shm_slot_count: int = 300,
1311
+ shm_slot_count: int = 1000,
1312
1312
  shm_frame_format: str = "BGR",
1313
1313
  # ================================================================
1314
1314
  # PERFORMANCE: New parameters for optimized frame capture
@@ -80,7 +80,7 @@ class AsyncFFmpegWorker:
80
80
  ffmpeg_config: Optional[FFmpegConfig] = None,
81
81
  # SHM mode options
82
82
  use_shm: bool = False,
83
- shm_slot_count: int = 300,
83
+ shm_slot_count: int = 1000,
84
84
  shm_frame_format: str = "BGR",
85
85
  # Performance options
86
86
  pin_cpu_affinity: bool = True,
@@ -901,7 +901,7 @@ def run_ffmpeg_worker(
901
901
  response_queue: multiprocessing.Queue = None,
902
902
  ffmpeg_config_dict: Optional[Dict[str, Any]] = None,
903
903
  use_shm: bool = False,
904
- shm_slot_count: int = 300,
904
+ shm_slot_count: int = 1000,
905
905
  shm_frame_format: str = "BGR",
906
906
  pin_cpu_affinity: bool = True,
907
907
  total_workers: int = 1,
@@ -312,7 +312,7 @@ class FFmpegCameraStreamer:
312
312
  ffmpeg_config: Optional[FFmpegConfig] = None,
313
313
  # SHM mode options
314
314
  use_shm: bool = False,
315
- shm_slot_count: int = 300,
315
+ shm_slot_count: int = 1000,
316
316
  shm_frame_format: str = "BGR",
317
317
  # Frame optimizer options
318
318
  frame_optimizer_enabled: bool = True,
@@ -35,7 +35,7 @@ class FFmpegWorkerManager:
35
35
  ffmpeg_config: Optional[FFmpegConfig] = None,
36
36
  # SHM options
37
37
  use_shm: bool = False,
38
- shm_slot_count: int = 300,
38
+ shm_slot_count: int = 1000,
39
39
  shm_frame_format: str = "BGR",
40
40
  # Performance options
41
41
  pin_cpu_affinity: bool = True,
@@ -38,7 +38,7 @@ class WorkerManager:
38
38
  # SHM_MODE: New parameters for shared memory architecture
39
39
  # ================================================================
40
40
  use_shm: bool = USE_SHM, # Enable SHM mode (raw frames in shared memory)
41
- shm_slot_count: int = 300, # Ring buffer size per camera
41
+ shm_slot_count: int = 1000, # Ring buffer size per camera (increased for consumer lag)
42
42
  shm_frame_format: str = "BGR", # Frame format: "BGR", "RGB", or "NV12"
43
43
  # ================================================================
44
44
  # PERFORMANCE: New parameters for optimized frame capture
@@ -88,7 +88,7 @@ class StreamingGateway:
88
88
  ffmpeg_low_latency: bool = True, # Enable low-latency flags
89
89
  ffmpeg_pixel_format: str = "bgr24",# Output pixel format
90
90
  # SHM configuration (centralized)
91
- shm_slot_count: int = 300, # Ring buffer size per camera
91
+ shm_slot_count: int = 1000, # Ring buffer size per camera (increased for consumer lag)
92
92
  ):
93
93
  """Initialize StreamingGateway.
94
94
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_streaming
3
- Version: 0.1.59
3
+ Version: 0.1.60
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -14,20 +14,20 @@ matrice_streaming/streaming_gateway/dynamic_camera_manager.py,sha256=DCXyufxK_z4
14
14
  matrice_streaming/streaming_gateway/event_listener.py,sha256=7x-TKjsAsSFXlGq88bfGB1IR8A5rJTrAotJEBklyofk,3084
15
15
  matrice_streaming/streaming_gateway/metrics_reporter.py,sha256=N9At7kEvY6mkMzibdcSzyo4JJYhBiy9Kxqtd0AfuGCY,46670
16
16
  matrice_streaming/streaming_gateway/streaming_action.py,sha256=o6favSDGY0wTMBCsx1lai8x7aBSDyGswAvDFIvsPYgA,30189
17
- matrice_streaming/streaming_gateway/streaming_gateway.py,sha256=RnZcTGf0EHY4kg4WvXKuBP8adBlw4My9NdcN2CW2LS8,52509
17
+ matrice_streaming/streaming_gateway/streaming_gateway.py,sha256=jLpdfqYOEy5x8AjpBBKmCI-tczx0MPYN64WRI1dbAe4,52538
18
18
  matrice_streaming/streaming_gateway/streaming_gateway_utils.py,sha256=6kNYgl3f7HmeKFKYUW1IncNv8zT6rqpQxh_FDWEbKow,25271
19
19
  matrice_streaming/streaming_gateway/streaming_status_listener.py,sha256=RgbW0xYbbpmO6ZjkVlh6fg8iqkpRaIShR2dQ3SMVFUw,3161
20
20
  matrice_streaming/streaming_gateway/camera_streamer/ARCHITECTURE.md,sha256=kngsqiS1PdNYhihBoMtoiIf3THJ4OM33E_hxExqzKqY,9980
21
21
  matrice_streaming/streaming_gateway/camera_streamer/__init__.py,sha256=_XI6CbqUxnkDuoQNYFcexhTKTBUfvH-Kj_XCUGSc_HY,1310
22
- matrice_streaming/streaming_gateway/camera_streamer/async_camera_worker.py,sha256=Zk65RTqZv_q0HzzdLgEY6qjaf0Lr87dBT04BYsSMekI,59247
23
- matrice_streaming/streaming_gateway/camera_streamer/async_ffmpeg_worker.py,sha256=2HEeK4f7yU5wM7lTZ8zGfzxY8qlokclVNyEGfioLKsg,37005
22
+ matrice_streaming/streaming_gateway/camera_streamer/async_camera_worker.py,sha256=Bg7yfkCn2RofLqviq22eKRhdxMYtqaeTFJC2no94_lI,59278
23
+ matrice_streaming/streaming_gateway/camera_streamer/async_ffmpeg_worker.py,sha256=isBYJnnbdxefkRrV2BsizCSZe1ZDPn5wfoTSOTtObsU,37007
24
24
  matrice_streaming/streaming_gateway/camera_streamer/camera_streamer.py,sha256=1BzWnwfPEWPVQ6gBW7uZFvykq2zEvygd5LWE6uqVRhY,39085
25
25
  matrice_streaming/streaming_gateway/camera_streamer/device_detection.py,sha256=9F4rsbMpIexOIlX8aCj7Q6PFG01kOS1wtgAIQBG0FaM,18463
26
26
  matrice_streaming/streaming_gateway/camera_streamer/encoder_manager.py,sha256=guWqNtgGZQBVBxeDlAVnLWTP-hsleWmKYuVcnd0Hvn0,6962
27
27
  matrice_streaming/streaming_gateway/camera_streamer/encoding_pool_manager.py,sha256=kYfHu-B8bw9wTFxociAYLVvk-UOC-KqcaFdZ1TQuah4,4222
28
- matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_camera_streamer.py,sha256=i3OwGeXREtd-VDv90S70ZhsGwMFTvnwkuwxrvrZRfYM,37645
28
+ matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_camera_streamer.py,sha256=sCeSTVqaYy-XK2fW7ZSMmGYMCTHrSiFCMizHTzMMJyo,37646
29
29
  matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_config.py,sha256=fbogEMtmqw4Fae4MS7vL1oQeFy3FkQbJlRGRF_BxIIo,6156
30
- matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_worker_manager.py,sha256=zqbsmicc5KddGqplpYumo_2jK6wZNXhPHSEgujdCCLE,17395
30
+ matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_worker_manager.py,sha256=pzeDcgST8dHZs18Q4PgnR0-4Up8PU1oAOo8Daos_Y2o,17396
31
31
  matrice_streaming/streaming_gateway/camera_streamer/frame_processor.py,sha256=UPifhOr7wYpA1ACU4xGzC3A4lmbr2FvohcG371O6FHQ,2255
32
32
  matrice_streaming/streaming_gateway/camera_streamer/gstreamer_camera_streamer.py,sha256=Y_X_luPlvcqMzOn0qodS5opJ6BWjwUYOWWunUEX_10o,54289
33
33
  matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker.py,sha256=AqKNJ6q_BxFphOlJ2GaS4WpoLCHXLEu5JVvoKQNrGV0,42822
@@ -37,7 +37,7 @@ matrice_streaming/streaming_gateway/camera_streamer/platform_pipelines.py,sha256
37
37
  matrice_streaming/streaming_gateway/camera_streamer/retry_manager.py,sha256=d8tlGoWoeSlgpCgXbUHTM61ekCQZki7TO1HzL2yPVzk,3607
38
38
  matrice_streaming/streaming_gateway/camera_streamer/stream_statistics.py,sha256=VC1S6ogiHUTlzTqn2wGOC1ClOEjvDgWm9Ydi9sWj-Do,18951
39
39
  matrice_streaming/streaming_gateway/camera_streamer/video_capture_manager.py,sha256=ySnbihdkpFPcBdFK_OFcHE-MgjG2YirUUYgEJHhvTxo,16899
40
- matrice_streaming/streaming_gateway/camera_streamer/worker_manager.py,sha256=iubA9jUPL5PBk7wQ4kZ-05HzSCEdqiGMaCWRkAt5q0c,27871
40
+ matrice_streaming/streaming_gateway/camera_streamer/worker_manager.py,sha256=JDckHyqer0ka4TbVzICEoXePSwRcT2y1YnChnfuK78c,27901
41
41
  matrice_streaming/streaming_gateway/debug/README.md,sha256=6GeHClMjJbmVuSKbJ8yOIDqpeAPnLNrHXMFtmubZz0E,11343
42
42
  matrice_streaming/streaming_gateway/debug/__init__.py,sha256=_RtvH0Y12HFiDoKK8BEsMwy6k_iAFjmYYNzMawbOfeQ,2026
43
43
  matrice_streaming/streaming_gateway/debug/benchmark.py,sha256=65la9K2mjiiuADCBSnYpPr9uYFnM89clgw-KHkjSkAU,25563
@@ -47,8 +47,8 @@ matrice_streaming/streaming_gateway/debug/debug_streaming_gateway.py,sha256=ZiDg
47
47
  matrice_streaming/streaming_gateway/debug/debug_utils.py,sha256=jWcSBgrk_YVt1QzSyw6geX17YBnTvgVdA5ubqO531a0,10477
48
48
  matrice_streaming/streaming_gateway/debug/example_debug_streaming.py,sha256=-gS8zNDswAoj6oss66QQWYZhY24usfLiMH0FFK06vV0,7994
49
49
  matrice_streaming/streaming_gateway/debug/test_videoplayback.py,sha256=s_dgWkoESiuJHlUAf_iv4d7OGmAhwocwDZmIcFUZzvo,11093
50
- matrice_streaming-0.1.59.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
51
- matrice_streaming-0.1.59.dist-info/METADATA,sha256=JRPBDQVfq8dCsEgqqXI8adcOjnF4cpCabfnJPAv-gCE,2477
52
- matrice_streaming-0.1.59.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
- matrice_streaming-0.1.59.dist-info/top_level.txt,sha256=PM_trIe8f4JLc90J871rNMYGVM3Po9Inx4As5LrCFUU,18
54
- matrice_streaming-0.1.59.dist-info/RECORD,,
50
+ matrice_streaming-0.1.60.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
51
+ matrice_streaming-0.1.60.dist-info/METADATA,sha256=-fB0ixDCjYgE0wXoq6VQdr6TEnmStqZjMisKDYz7tHg,2477
52
+ matrice_streaming-0.1.60.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
+ matrice_streaming-0.1.60.dist-info/top_level.txt,sha256=PM_trIe8f4JLc90J871rNMYGVM3Po9Inx4As5LrCFUU,18
54
+ matrice_streaming-0.1.60.dist-info/RECORD,,