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.

image

image

image


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:

  1. Implement Open Microphone
  2. Implement Close Microphone function
  3. Retrieve User ID
  4. Create directory if not exists of Recordings / user guid / audio.webm
  5. Store Blob chunk to specified directory
  6. Store Audio Metadata to SQL database
  7. Provide UPDATE abilities to audio meta data.
  8. Provide DELETE Audio ability