• Post Reply Bookmark Topic Watch Topic
  • New Topic

Audio Recording in web app

 
saravanan Senthil
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I have tried audio recording in java using javax.sound.sampled.*;.it works fine in local machine for recording audio with specified audio format.But when I deployed in server it was not working i.e it captures the audio from server machine not from user's machine. I need to capture user voice to be converted in to audio file from my web application,I also tried applet also It also does the same.

This code works only where this application is deployed.not supported for web application and works like desktop application.
Please help me for this.Thanks in advance

My Code is :


 
Nam Ha Minh
Ranch Hand
Posts: 509
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should port the code into a Java applet, then embed the applet in a HTML/JSP page. The applet would submit recorded audio data to the server.
 
saravanan Senthil
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nam Ha Minh wrote:You should port the code into a Java applet, then embed the applet in a HTML/JSP page. The applet would submit recorded audio data to the server.


Hi I also tried in Applet, but its says

 
Nam Ha Minh
Ranch Hand
Posts: 509
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Recording audio requires system permission, so you have to sign your applet.
 
saravanan Senthil
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nam Ha Minh wrote:Recording audio requires system permission, so you have to sign your applet.


I have signed the JAR in the following...


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!