Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Audio Recording in web app

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 :


 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic