Problem with api web audio RRS feed

  • Question

  • User109095732 posted

    Hi, I need some help to solve my problem.

    I'm using an application on a machine, when an application on my machine, it emits a sound, but when I test on another machine that accesses an application by ip machine after uploading location, for example:, the sound does not come out.

    I would like to know what might be blocking a sound output or some disk drive that so my machine has !?

    I am saving the .wav format sound file on this path: Content -> Sounds

    And perform this function to make a sound call

    var filePath = System.Web.Hosting.HostingEnvironment.MapPath("~/Content/Sounds/OrderLate.wav");

    using (var soundPlayer = new SoundPlayer(filePath))

    Well, that's it, I thank the attention. Thank you ^^

    Thursday, December 29, 2016 9:34 PM

All replies

  • User-2057865890 posted

    Hi Gabriela_Saori,

    Make sure the server supports and has audio turned on and that sound player is properly installed.

    If you want to play an audio file in the browser (client-side), you could use <audio> tag from html5.

    reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio

    Best Regards,


    Friday, December 30, 2016 3:08 AM
  • User109095732 posted

    Hello Cris,

    It's great to start the year with a help Laughing. Thank you very much !!

    I'm already sure that there is support on the server and the drives are installed (Note: They are the defaults)

    I realized that the function I was using was to run locally on my machine and not on the server, so the sound search was not being done.

    Now I will try to somehow play the sound on the client side and not on the server side.

    When I find the solution, answer here in the forum. Thanks again

    Monday, January 2, 2017 11:53 AM