- Deleted unused API test files, RTSP diagnostic scripts, and development utility scripts to reduce clutter. - Removed outdated database schema and modularization proposal documents to maintain focus on current architecture. - Cleaned up configuration files and logging scripts that are no longer in use, enhancing project maintainability.
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
# Scripts Directory
|
|
|
|
This directory contains utility scripts, test files, and diagnostic tools for the USDA Vision system.
|
|
|
|
## Shell Scripts (.sh)
|
|
|
|
- **`check_rtsp_status.sh`** - Quick RTSP streaming status check
|
|
- Starts RTSP stream for camera1
|
|
- Checks MediaMTX for stream availability
|
|
- Displays access URLs (WebRTC, RTSP)
|
|
|
|
- **`diagnose_rtsp.sh`** - Comprehensive RTSP diagnostic tool
|
|
- Performs full RTSP streaming health check
|
|
- Tests API health, camera status, FFmpeg process
|
|
- Verifies MediaMTX stream availability
|
|
- Provides detailed diagnostic output
|
|
|
|
## Test Files
|
|
|
|
- **`api-tests.http`** - REST Client test file for API endpoints
|
|
- Camera Management API tests
|
|
- Media API tests
|
|
- MediaMTX endpoint tests
|
|
- Can be used with REST Client extensions in VS Code/Cursor
|
|
|
|
- **`test_rtsp.py`** - Python script for testing RTSP streaming functionality
|
|
|
|
## Usage
|
|
|
|
All scripts assume you're running from the project root directory and that Docker Compose services are running.
|
|
|
|
### Example:
|
|
```bash
|
|
# From project root
|
|
./scripts/check_rtsp_status.sh
|
|
./scripts/diagnose_rtsp.sh
|
|
```
|
|
|