suraj-modi / wami-recorder

Automatically exported from code.google.com/p/wami-recorder
0 stars 0 forks source link

errors in delegateWamiAPI() function in recorder.js #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
delegateWamiAPI() function is referrenced in below code:
embedWamiSWF(_options.id, Wami.nameCallback(delegateWamiAPI));

But when I try to run the code, function delegateWamiAPI() is not getting 
called resulting in error "object does not have function startRecording'.

However, when I change above mentioned line to:
embedWamiSWF(_options.id, Wami.nameCallback(delegateWamiAPI()));
function gets called but then it throws error 'undefied does not have method 
apply' at 
return recorder[name].apply(recorder, arguments);.

As a result of this, record none of the functionalities are working.

I am using the current version of WAMI recorder provided. I am working on 
Google Chrome. Operating system is Windows.

I am using JAVA as server side language.

Urls being used are:
recordUrl : "https://wami-recorder.appspot.com/audio",
playUrl : "https://wami-recorder.appspot.com/audio".

Original issue reported on code.google.com by sandesh....@gmail.com on 4 Jun 2013 at 6:54