Stream media file reads
This commit is contained in:
parent
11a064c359
commit
d532a5846d
1 changed files with 18 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ The server's directory access control follows this flow:
|
|||
- **read_media_file**
|
||||
- Read an image or audio file
|
||||
- Input: `path` (string)
|
||||
- Returns base64 data and MIME type based on the file extension
|
||||
- Streams the file and returns base64 data with the corresponding MIME type
|
||||
|
||||
- **read_multiple_files**
|
||||
- Read multiple files simultaneously
|
||||
|
|
|
|||
Loading…
Reference in a new issue