Google Answers Logo
View Question
 
Q: Easy way of Recording sound on website server . ( No Answer,   1 Comment )
Question  
Subject: Easy way of Recording sound on website server .
Category: Computers > Programming
Asked by: coolbiz-ga
List Price: $25.00
Posted: 15 May 2003 19:22 PDT
Expires: 14 Jun 2003 19:22 PDT
Question ID: 204411
Hi Web Programmers,

I have a working Java(servlets,jsp) piece of software, which is
related to recording sound on our website. I need some in solving
a programming problem. 

Using: Java on Windows 2000. 
Background and Problem : Our software(website) provides a Java audio
applet for visitors to be able to record sound and play the recorded
sound(currently .wav), the wav file gets stored on the server(Tomcat
server using HTTP {no RMI}) under the user's accountID.

Problem:-
The problem with this method is, Since it is being done 
from an applet it requires that a '.java.policy' file 
be created on every user/client's machine in order 
to give the security permissions for recording voice 
from that machine. It throws a security exception 
if the policy file is not created on every client m/c.

What I want (The question )
1> I want to get rid of the need to manually install the  
'.java.policy' file on every client, who uses the   website.
Note:- I have done some reading on this problem, and found that
signing the applet can help, but since we dont have
much money resources, We do not want to go for verisign & stuff.

If there is no answer for point 1> (I suspect), then I want answer to
   and alternative which is question 2 below:-
2>So, I am looking for an alternative way of achieving this:-
i.e if there is any tool/plug-in, which I can customize 
for recording/playback of sound on my website, which will
not require me to make any changes on the client side machine (no
installation and setup) 
It can be any activex control or 3rd party tool,etc. to do this.


In either case, I would like to see some code sample of
the suggested solution. Let me know if you want me to fill
any more details.


Thanks
JK

Request for Question Clarification by endo-ga on 08 Jun 2003 09:31 PDT
Hi,

Let me know if this sounds like a possible solution. How about saving
the audio file to the client's HDD first, then uploading it to the
server? I assume that part 1 is trivial although I've never done this
with an applet, I can tell you how to do part 2 if the user clicks on
a 'submit button'.

Thanks.
endo

Clarification of Question by coolbiz-ga on 09 Jun 2003 07:22 PDT
hi Endo,

1st part..i.e saving at client's m/c involves recording of sound thru
applet which itself needs .java.policy file on the client m/c and i
want a solution to get rid of .policy file installation for every
client.
The second part, i.e uploading the server is already there and
working.

Thanks.
JK

Request for Question Clarification by endo-ga on 09 Jun 2003 07:39 PDT
Hi,

This is not really a solution as such, but how about asking the client
to download a policy file?

This might sound silly, but is it not possible to store everything in
RAM as a binary stream, then send this binary stream to the server
without storing a file on the client side?

Thanks.
endo
Answer  
There is no answer at this time.

Comments  
Subject: Re: Easy way of Recording sound on website server .
From: webadept-ga on 15 May 2003 19:27 PDT
 
Wow, what a cool thing this would be! I've been searching around
trying to find something to do this, but so far I'm coming up blank,
and it would really go well with a current project of mine too. I'm
still searching and really hoping to find.

Just wanted to let you know that at least one of the researchers is
hunting hard for this.

webadept-ga

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy