matrice-streaming 0.1.60__tar.gz → 0.1.62__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.
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/PKG-INFO +1 -1
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/PKG-INFO +1 -1
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/SOURCES.txt +2 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/__init__.py +5 -2
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/__init__.py +26 -2
- matrice_streaming-0.1.62/src/matrice_streaming/streaming_gateway/camera_streamer/nvdec.py +961 -0
- matrice_streaming-0.1.62/src/matrice_streaming/streaming_gateway/camera_streamer/nvdec_worker_manager.py +380 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/streaming_gateway.py +182 -11
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/LICENSE.txt +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/README.md +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/dependency_links.txt +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/not-zip-safe +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/top_level.txt +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/pyproject.toml +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/setup.cfg +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/setup.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/client/__init__.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/client/client.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/client/client_utils.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/__init__.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/camera_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/deployment.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/inference_pipeline.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/streaming_gateway_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/deployment/todo.txt +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/py.typed +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/__init__.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/ARCHITECTURE.md +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/async_camera_worker.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/async_ffmpeg_worker.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/camera_streamer.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/device_detection.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/encoder_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/encoding_pool_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_camera_streamer.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_config.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/ffmpeg_worker_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/frame_processor.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_camera_streamer.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/message_builder.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/platform_pipelines.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/retry_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/stream_statistics.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/video_capture_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/camera_streamer/worker_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/README.md +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/__init__.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/benchmark.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/debug_gstreamer_gateway.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/debug_stream_backend.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/debug_streaming_gateway.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/debug_utils.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/example_debug_streaming.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/debug/test_videoplayback.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/dynamic_camera_manager.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/event_listener.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/metrics_reporter.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/streaming_action.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/streaming_gateway_utils.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/src/matrice_streaming/streaming_gateway/streaming_status_listener.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_async_infrastructure.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_batch_auto_calculation.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_batching_verification.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_e2e_production.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_flatten_binary.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_gstreamer_integration.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_msgpack_fix.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_phase1_unit.py +0 -0
- {matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/tests/test_phase2_scaling.py +0 -0
{matrice_streaming-0.1.60 → matrice_streaming-0.1.62}/matrice_streaming.egg-info/SOURCES.txt
RENAMED
|
@@ -42,6 +42,8 @@ src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_camera_streame
|
|
|
42
42
|
src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker.py
|
|
43
43
|
src/matrice_streaming/streaming_gateway/camera_streamer/gstreamer_worker_manager.py
|
|
44
44
|
src/matrice_streaming/streaming_gateway/camera_streamer/message_builder.py
|
|
45
|
+
src/matrice_streaming/streaming_gateway/camera_streamer/nvdec.py
|
|
46
|
+
src/matrice_streaming/streaming_gateway/camera_streamer/nvdec_worker_manager.py
|
|
45
47
|
src/matrice_streaming/streaming_gateway/camera_streamer/platform_pipelines.py
|
|
46
48
|
src/matrice_streaming/streaming_gateway/camera_streamer/retry_manager.py
|
|
47
49
|
src/matrice_streaming/streaming_gateway/camera_streamer/stream_statistics.py
|
|
@@ -42,5 +42,8 @@ if _is_main_process:
|
|
|
42
42
|
return False
|
|
43
43
|
return False
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
try:
|
|
46
|
+
import cv2
|
|
47
|
+
except ImportError:
|
|
48
|
+
if not dependencies_check(["opencv-python"]):
|
|
49
|
+
dependencies_check(["opencv-python-headless"])
|
|
@@ -26,14 +26,33 @@ except (ImportError, ValueError):
|
|
|
26
26
|
GStreamerPipeline = None
|
|
27
27
|
GStreamerAsyncWorker = None
|
|
28
28
|
GStreamerWorkerManager = None
|
|
29
|
-
|
|
29
|
+
|
|
30
30
|
def is_gstreamer_available():
|
|
31
31
|
return False
|
|
32
32
|
|
|
33
|
+
# NVDEC components (optional - graceful import)
|
|
34
|
+
try:
|
|
35
|
+
from .nvdec_worker_manager import (
|
|
36
|
+
NVDECWorkerManager,
|
|
37
|
+
is_nvdec_available,
|
|
38
|
+
get_available_gpu_count,
|
|
39
|
+
)
|
|
40
|
+
NVDEC_AVAILABLE = is_nvdec_available()
|
|
41
|
+
except ImportError:
|
|
42
|
+
# NVDEC not available (requires CuPy, PyNvVideoCodec)
|
|
43
|
+
NVDEC_AVAILABLE = False
|
|
44
|
+
NVDECWorkerManager = None
|
|
45
|
+
|
|
46
|
+
def is_nvdec_available():
|
|
47
|
+
return False
|
|
48
|
+
|
|
49
|
+
def get_available_gpu_count():
|
|
50
|
+
return 1
|
|
51
|
+
|
|
33
52
|
__all__ = [
|
|
34
53
|
# Original components
|
|
35
54
|
"CameraStreamer",
|
|
36
|
-
"WorkerManager",
|
|
55
|
+
"WorkerManager",
|
|
37
56
|
"AsyncCameraWorker",
|
|
38
57
|
# GStreamer components
|
|
39
58
|
"GStreamerCameraStreamer",
|
|
@@ -43,4 +62,9 @@ __all__ = [
|
|
|
43
62
|
"GStreamerWorkerManager",
|
|
44
63
|
"is_gstreamer_available",
|
|
45
64
|
"GSTREAMER_AVAILABLE",
|
|
65
|
+
# NVDEC components
|
|
66
|
+
"NVDECWorkerManager",
|
|
67
|
+
"is_nvdec_available",
|
|
68
|
+
"get_available_gpu_count",
|
|
69
|
+
"NVDEC_AVAILABLE",
|
|
46
70
|
]
|