are there any ASP.NET with Voice Recording sample codes?

后端 未结 4 1931
庸人自扰
庸人自扰 2021-01-03 10:46

I am wondering if there is any codes sample for ASP.NET with Voice recording.

Ok, Basically, i want to create a web page that allow user to click a record button and

相关标签:
4条回答
  • 2021-01-03 11:11

    There is no simple way to do this kind of thing. Standard web technologies based on HTTP and HTML just don't have the features. HTTP doesn't work well with moving audio data, and HTML and Javascript are not able to talk directly to the hosting OS or hardware resources like the microphone.

    There are 3rd party browser plug-ins and applets that you may be able to use via a web application to do this kind of thing.

    Most people use Flash and the Flash Media Server to do audio input via the web.

    There are also some Java applets that have similar capabilities such as the ListenUp SDK (I have not used this, so it isn't an endorsement).

    There is a lot of discussion on this topic related to Microsoft Silverlight, but as I understand it voice and camera inputs from the client side are not supported as of Silverlight 2, though it may get put into Silverlight 3. There is a good bit of information about how to use the necessary Flash bits within a Silverlight application though. For more info on that, check out this post.

    0 讨论(0)
  • 2021-01-03 11:21

    ASP.net is a Server-Side Technology, but voice recording is done Client side. So regardless if you use ASP.net, PHP, Ruby on Rails or Cobol, you can't do it directly.

    What you need is a Client-Side Application that works together with the Server Side to accomplish this. I do not know if Silverlight can do Microphone recording, but Flash can. This is apparently quite easy using the Flash Media Interactive Server, but normally you should be able to do this without, i.e. just by having a Flash Application doing the recording and then Uploading it to the server.

    0 讨论(0)
  • 2021-01-03 11:25

    Hi Sam in Silverlight 4 it is possible to record voice from microphone and webcams.

    Just follow the blog. http://blog.ondrejsv.com/post/Audio-recorder-Silverlight-4-sample.aspx

    Good Luck

    0 讨论(0)
  • 2021-01-03 11:32

    I think this is something that would have to be done with Flash.

    This guy appears to have some examples of doing voice recording in Flash, with code samples:

    http://fms.denniehoopingarner.com/

    0 讨论(0)
提交回复
热议问题