Hi Lijo, The same happened to me also,I did n't get any error on server side but only empty file is storing with out recording.Everything working fine on my local machine. Please suggest me if you have any idea. Thanks
R
rahul1455
@rahul1455
Posts
-
Voice recording is not working in server -
How to Save the voice record file in the client system Using MCI in c# .net 2.0 web applicationhi through this code i am recording audios and listening locally but I am unable to record audios on online(production server).its showing empty file.recording not happening there. Please suggest me my code as follows protected void btnSaveStop_Click(object sender, EventArgs e) { shortPath = Server.MapPath("~/Audios/" + txtTag.Text + ".wav"); formatShortPath = string.Format("save recsound \"{0}\"", shortPath); mciSendString(string.Format("{0}", formatShortPath), null, 0, 0); mciSendString("save recsound ", "", 0, 0); mciSendString("close recsound ", "", 0, 0); Computer c = new Computer(); c.Audio.Stop(); }
modified on Friday, March 12, 2010 1:08 AM