matrice-streaming 0.1.66__tar.gz → 0.1.67__tar.gz

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.
Files changed (71) hide show
  1. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/PKG-INFO +1 -1
  2. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/matrice_streaming.egg-info/PKG-INFO +1 -1
  3. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/__init__.py +6 -5
  4. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/nvdec.py +6 -1
  5. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/streaming_gateway.py +3 -2
  6. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/LICENSE.txt +0 -0
  7. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/README.md +0 -0
  8. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/matrice_streaming.egg-info/SOURCES.txt +0 -0
  9. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/matrice_streaming.egg-info/dependency_links.txt +0 -0
  10. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/matrice_streaming.egg-info/not-zip-safe +0 -0
  11. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/matrice_streaming.egg-info/top_level.txt +0 -0
  12. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/pyproject.toml +0 -0
  13. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/setup.cfg +0 -0
  14. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/setup.py +0 -0
  15. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/__init__.py +0 -0
  16. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/client/__init__.py +0 -0
  17. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/client/client.py +0 -0
  18. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/client/client_utils.py +0 -0
  19. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/__init__.py +0 -0
  20. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/camera_manager.py +0 -0
  21. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/deployment.py +0 -0
  22. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/inference_pipeline.py +0 -0
  23. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/streaming_gateway_manager.py +0 -0
  24. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/deployment/todo.txt +0 -0
  25. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/py.typed +0 -0
  26. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/__init__.py +0 -0
  27. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/ARCHITECTURE.md +0 -0
  28. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/async_camera_worker.py +0 -0
  29. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/async_ffmpeg_worker.py +0 -0
  30. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/camera_streamer.py +0 -0
  31. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/device_detection.py +0 -0
  32. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/encoder_manager.py +0 -0
  33. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/encoding_pool_manager.py +0 -0
  34. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_camera_streamer.py +0 -0
  35. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_config.py +0 -0
  36. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_worker_manager.py +0 -0
  37. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/frame_processor.py +0 -0
  38. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_camera_streamer.py +0 -0
  39. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker.py +0 -0
  40. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker_manager.py +0 -0
  41. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/message_builder.py +0 -0
  42. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/nvdec_worker_manager.py +0 -0
  43. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/platform_pipelines.py +0 -0
  44. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/retry_manager.py +0 -0
  45. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/stream_statistics.py +0 -0
  46. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/video_capture_manager.py +0 -0
  47. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/camera_streamer/worker_manager.py +0 -0
  48. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/README.md +0 -0
  49. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/__init__.py +0 -0
  50. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/benchmark.py +0 -0
  51. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/debug_gstreamer_gateway.py +0 -0
  52. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/debug_stream_backend.py +0 -0
  53. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/debug_streaming_gateway.py +0 -0
  54. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/debug_utils.py +0 -0
  55. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/example_debug_streaming.py +0 -0
  56. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/debug/test_videoplayback.py +0 -0
  57. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/dynamic_camera_manager.py +0 -0
  58. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/event_listener.py +0 -0
  59. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/metrics_reporter.py +0 -0
  60. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/streaming_action.py +0 -0
  61. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/streaming_gateway_utils.py +0 -0
  62. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/src/matrice_streaming/streaming_gateway/streaming_status_listener.py +0 -0
  63. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_async_infrastructure.py +0 -0
  64. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_batch_auto_calculation.py +0 -0
  65. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_batching_verification.py +0 -0
  66. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_e2e_production.py +0 -0
  67. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_flatten_binary.py +0 -0
  68. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_gstreamer_integration.py +0 -0
  69. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_msgpack_fix.py +0 -0
  70. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_phase1_unit.py +0 -0
  71. {matrice_streaming-0.1.66 → matrice_streaming-0.1.67}/tests/test_phase2_scaling.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_streaming
3
- Version: 0.1.66
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_streaming
3
- Version: 0.1.66
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
@@ -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,10 +40,9 @@ try:
38
40
  get_available_gpu_count,
39
41
  )
40
42
  NVDEC_AVAILABLE = is_nvdec_available()
41
- print(f"NVDEC_AVAILABLE: {NVDEC_AVAILABLE}")
42
- except Exception as e:
43
- print(f"Error importing NVDEC: {e}")
44
- # 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
45
46
  NVDEC_AVAILABLE = False
46
47
  NVDECWorkerManager = None
47
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