joelle-o-world / singing-our-lives

Web app for the singing our lives project.
1 stars 0 forks source link

Whats the best way to move audio to the server? #7

Closed joelle-o-world closed 5 years ago

joelle-o-world commented 5 years ago

Ideas:

sdnorris commented 5 years ago

Ideas:

  • Send the audio in one big POST request using AJAX. This is probably ok for short audio files and low traffic. Could cause us problems further down the line but might well be the easiest quick fix given the time constraints.
  • Devise our own method of chunking audio via a series AJAX POST requests.
  • Find a library which will do this for us. NOTE: All the ones I have found so far seem dependent on a certain framework and/or hosting service.

TogetherProductions has said that it'll probably be best if we manage the hosting etc., so if we need to use a specific hosting service in order to deal accomplish the audio streaming, that should be okay.

joelle-o-world commented 5 years ago

Sockets.IO looks like it will solve all our problems and is ambivalent about hosting service 👍