matrice-streaming 0.1.65__py3-none-any.whl → 0.1.67__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.
@@ -17,9 +17,11 @@ try:
17
17
  from .gstreamer_worker_manager import GStreamerWorkerManager
18
18
 
19
19
  GSTREAMER_AVAILABLE = is_gstreamer_available()
20
- except (ImportError, ValueError):
20
+ except (ImportError, ValueError, AttributeError, RuntimeError, TypeError):
21
21
  # ImportError: gi module not available
22
22
  # ValueError: gi.require_version fails when GStreamer not installed
23
+ # AttributeError/RuntimeError/TypeError: other initialization errors
24
+ # Suppress warnings - these are optional dependencies
23
25
  GSTREAMER_AVAILABLE = False
24
26
  GStreamerCameraStreamer = None
25
27
  GStreamerConfig = None
@@ -38,8 +40,9 @@ try:
38
40
  get_available_gpu_count,
39
41
  )
40
42
  NVDEC_AVAILABLE = is_nvdec_available()
41
- except ImportError:
42
- # NVDEC not available (requires CuPy, PyNvVideoCodec)
43
+ except (ImportError, AttributeError, RuntimeError, TypeError, ValueError) as e:
44
+ # NVDEC not available (requires CuPy, PyNvVideoCodec, cuda_shm_ring_buffer)
45
+ # Suppress warnings - these are optional dependencies
43
46
  NVDEC_AVAILABLE = False
44
47
  NVDECWorkerManager = None
45
48
 
@@ -88,8 +88,13 @@ except ImportError:
88
88
  try:
89
89
  from matrice_common.stream.cuda_shm_ring_buffer import CudaIpcRingBuffer, GlobalFrameCounter
90
90
  RING_BUFFER_AVAILABLE = True
91
- except ImportError:
91
+ except (ImportError, AttributeError, RuntimeError, TypeError):
92
+ # ImportError: module not found
93
+ # AttributeError: cp.ndarray is None (cupy not available)
94
+ # RuntimeError/TypeError: other initialization errors
92
95
  RING_BUFFER_AVAILABLE = False
96
+ CudaIpcRingBuffer = None
97
+ GlobalFrameCounter = None
93
98
 
94
99
  logger = logging.getLogger(__name__)
95
100
 
@@ -50,8 +50,9 @@ NVDEC_AVAILABLE = False
50
50
  try:
51
51
  from .camera_streamer.nvdec_worker_manager import NVDECWorkerManager, is_nvdec_available
52
52
  NVDEC_AVAILABLE = is_nvdec_available()
53
- except ImportError:
54
- # NVDEC not available (requires CuPy, PyNvVideoCodec)
53
+ except (ImportError, AttributeError, RuntimeError, TypeError, ValueError):
54
+ # NVDEC not available (requires CuPy, PyNvVideoCodec, cuda_shm_ring_buffer)
55
+ # Suppress warnings - these are optional dependencies
55
56
  pass
56
57
 
57
58
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_streaming
3
- Version: 0.1.65
3
+ Version: 0.1.67
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,11 +14,11 @@ 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=fxKsR0QkQGyncEkpg-ZtEqTFenlFOD8BlC1baK98a7o,61124
17
+ matrice_streaming/streaming_gateway/streaming_gateway.py,sha256=Bh2pYcB-sovK7MJNp7AxaT4iGUf46pA2UKx4s2OmLOo,61259
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
- matrice_streaming/streaming_gateway/camera_streamer/__init__.py,sha256=8KyT8W_ckrukaP-vTnX78zD57OglYThSOl_HB7zW524,1907
21
+ matrice_streaming/streaming_gateway/camera_streamer/__init__.py,sha256=nwVY-ySnKvOedeDXakyR_6KPHSz3yzSeaO_4IFMMP4I,2219
22
22
  matrice_streaming/streaming_gateway/camera_streamer/async_camera_worker.py,sha256=Bg7yfkCn2RofLqviq22eKRhdxMYtqaeTFJC2no94_lI,59278
23
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
@@ -33,7 +33,7 @@ matrice_streaming/streaming_gateway/camera_streamer/gstreamer_camera_streamer.py
33
33
  matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker.py,sha256=AqKNJ6q_BxFphOlJ2GaS4WpoLCHXLEu5JVvoKQNrGV0,42822
34
34
  matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker_manager.py,sha256=jlKwIWWMXpztdyKiyremGmkVyw9mf2AxEmT7154xnrc,22002
35
35
  matrice_streaming/streaming_gateway/camera_streamer/message_builder.py,sha256=W295q6cIm05ReF1ooQus3rsKgZOG3EldZplbQco-OyM,10231
36
- matrice_streaming/streaming_gateway/camera_streamer/nvdec.py,sha256=-vm0wncirN0S8OJu6flwzNxfePFIG4JjAj7GdbQBqzc,52495
36
+ matrice_streaming/streaming_gateway/camera_streamer/nvdec.py,sha256=5yBskXYMGTE0odK1RoJsL0ijcOppTySgJwg2TDGLagU,52753
37
37
  matrice_streaming/streaming_gateway/camera_streamer/nvdec_worker_manager.py,sha256=KlcwKFUPVZTQ3J1VIuhPev8Xv9BNw4dj2iLGHrREQCQ,16035
38
38
  matrice_streaming/streaming_gateway/camera_streamer/platform_pipelines.py,sha256=UNjsYYWbUJteOq2tzxISFAbWMa2e9GUExSS6fWc2Aow,27303
39
39
  matrice_streaming/streaming_gateway/camera_streamer/retry_manager.py,sha256=d8tlGoWoeSlgpCgXbUHTM61ekCQZki7TO1HzL2yPVzk,3607
@@ -49,8 +49,8 @@ matrice_streaming/streaming_gateway/debug/debug_streaming_gateway.py,sha256=ZiDg
49
49
  matrice_streaming/streaming_gateway/debug/debug_utils.py,sha256=jWcSBgrk_YVt1QzSyw6geX17YBnTvgVdA5ubqO531a0,10477
50
50
  matrice_streaming/streaming_gateway/debug/example_debug_streaming.py,sha256=-gS8zNDswAoj6oss66QQWYZhY24usfLiMH0FFK06vV0,7994
51
51
  matrice_streaming/streaming_gateway/debug/test_videoplayback.py,sha256=s_dgWkoESiuJHlUAf_iv4d7OGmAhwocwDZmIcFUZzvo,11093
52
- matrice_streaming-0.1.65.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
53
- matrice_streaming-0.1.65.dist-info/METADATA,sha256=zxJffH2ItbfhMIzLN6IbwSy7CO_MFxsG3TENiHkTprc,2477
54
- matrice_streaming-0.1.65.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
- matrice_streaming-0.1.65.dist-info/top_level.txt,sha256=PM_trIe8f4JLc90J871rNMYGVM3Po9Inx4As5LrCFUU,18
56
- matrice_streaming-0.1.65.dist-info/RECORD,,
52
+ matrice_streaming-0.1.67.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
53
+ matrice_streaming-0.1.67.dist-info/METADATA,sha256=KhiucK0JJhzJLvNxJ-LkdzYA_NGw_RyIUz1YLNLx3e4,2477
54
+ matrice_streaming-0.1.67.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
55
+ matrice_streaming-0.1.67.dist-info/top_level.txt,sha256=PM_trIe8f4JLc90J871rNMYGVM3Po9Inx4As5LrCFUU,18
56
+ matrice_streaming-0.1.67.dist-info/RECORD,,