feat: Update camera configuration to support MP4 format with new settings

- Changed machine topic from "vibratory_conveyor" to "blower_separator" for camera1
- Updated exposure and gain settings for camera1
- Added new video recording settings: video_format, video_codec, video_quality, auto_start_recording_enabled, auto_recording_max_retries, auto_recording_retry_delay_seconds
- Enhanced documentation to reflect current configuration and API alignment
- Redesigned Camera Configuration UI to display read-only fields for system and auto-recording settings
- Improved handling of video format settings in the API and frontend
- Created CURRENT_CONFIGURATION.md for complete system configuration reference
This commit is contained in:
Alireza Vaezi
2025-08-04 16:44:45 -04:00
parent 1aaac68edd
commit 7bc76d72f9
10 changed files with 508 additions and 294 deletions

View File

@@ -77,20 +77,19 @@ const videoUrl = `/api/videos/${videoId}/stream`;
```json
{
"name": "camera1",
"machine_topic": "vibratory_conveyor",
"machine_topic": "blower_separator",
"storage_path": "/storage/camera1",
"enabled": true,
// Basic Settings
"exposure_ms": 1.0,
"gain": 3.5,
"exposure_ms": 0.3,
"gain": 4.0,
"target_fps": 0,
// NEW: Video Recording Settings
"enabled": true,
"video_format": "mp4",
"video_codec": "mp4v",
"video_quality": 95,
"auto_start_recording_enabled": true,
"auto_recording_max_retries": 3,
"auto_recording_retry_delay_seconds": 2,
// ... other existing fields
}
```