Hello i want to make a script that allows the user to record audio from his device mic and then store it as a .mp3 or .wav file on my database. Does anyone knows any tutorials or scripts? I found this one http://stackoverflow.com/questions/16413063/html5-record-audio-to-file
but i dont know to make it a file and then store it. Any help?
SimonIoa 77 Master Poster
Recommended Answers
Jump to PostThe closest working project I could find was http://subinsb.com/html5-record-mic-voice
You have a lot of steps to complete to get this working.
Jump to Post$("#audio")[0].play();
Try it without the [0] index? Get the audio object and log it to the console, see what's available.
console.log(JSON.stringify($("#audio"), null, 4));
Jump to PostOut of interest, was there ever any further work on this?
I'll will upload any answer i got
What was the solution?
Jump to PostTHanks for the update simonloa - this was certainly interesting and I'm sure many will benefit from your research / work :)
Jump to PostI'm not sure you can do this. Uploading a local file via js requires some nominal "'ok" from the user. This could be as straightforward as loading a file into a file control and wrap a form.submit event to its onchange event.
All 31 Replies
rproffitt 2,701 https://5calls.org Moderator
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
rproffitt 2,701 https://5calls.org Moderator
SimonIoa 77 Master Poster
rproffitt 2,701 https://5calls.org Moderator

diafol

diafol
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster
info3 commented: How is the RTC Audio Script working for you? We just started using it. Where do you add the scripts in wp? Thank you for you assistance. +0

diafol
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster
rproffitt 2,701 https://5calls.org Moderator
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster

diafol
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
SimonIoa 77 Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.