Recording Studio ‐ Audio Storage - ddpalacios/home-server GitHub Wiki
Audio is sent to the server via WebSockets. When a user hits 'stop recording' the audio should then be saved under a file storage, retaining the user identification and audio meta data.
Audio Blob must be stored in a file storage and the path must be specified to the unique user identifier. Since blob data should not be stored under a sql database, only the meta data audio will be stored. Initially, the audio will be stored as "Audio#.....".webm - The user will then be able to manipulate its values
Tasks:
- Implement Open Microphone
- Implement Close Microphone function
- Retrieve User ID
- Create directory if not exists of Recordings / user guid / audio.webm
- Store Blob chunk to specified directory
- Store Audio Metadata to SQL database
- Provide UPDATE abilities to audio meta data.
- Provide DELETE Audio ability