16 lines
799 B
Markdown
16 lines
799 B
Markdown
## ADDED Requirements
|
|
|
|
### Requirement: Media Upload
|
|
The system SHALL provide a web-based media upload feature to allow users to transfer videos and images from their mobile devices or laptops to the Raspberry Pi.
|
|
|
|
#### Scenario: Successful video upload
|
|
- **WHEN** the user selects a `.mp4` file and clicks "Upload"
|
|
- **THEN** the system SHALL save the file to `/home/pi/media` and make it available for mapping
|
|
|
|
### Requirement: Surface Source Assignment
|
|
The system SHALL allow the user to assign a specific media file from the library to a selected mapping surface in real-time.
|
|
|
|
#### Scenario: Assigning an image
|
|
- **WHEN** the user selects an image from the "Media Library" in the UI
|
|
- **THEN** the backend SHALL send an `/ofxPiMapper/source/set <filename>` OSC message to update the projection
|