suraj-modi / wami-recorder

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

Can not record audio using Wami Player at second time #49

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
I have used the wami player to record audio in C#.Net MVC code where I declare 
following tag on view page.

<div id="wami"></div>

and then done code in javascript file:

Wami.setup({
      id: "wami",
      onReady: setupGUI
});
function setupGUI() {
     var gui = new Wami.GUI({
     id: "wami",
     recordUrl: URL
     });
     gui.startRecording();
     //calling gui.stopRecording(); after fixed time of interval
}

I am using following files to support wami player:

wamirecorder.js
wamigui.js
wami.swf

It is working correctly but after this I have again used this code with 
different Wami player id such as <div id="wami_player"></div>. Now after doing 
recording at first time from above code I can not do the recording on next time 
with "wami_player".

so please suggest me that how to use wami player on second time or if it is 
required to destroy first object of wami player then how can I do this.

Thanks in Advance!

Original issue reported on code.google.com by dadheech...@gmail.com on 10 Apr 2014 at 5:46