0

I have created a blob of audio obtained from a microphone in the browser and send this blob URL to Controller.

How should I fetch the audio file from blob URL in C#?

Ramana V V K
  • 1,245
  • 15
  • 24
Ravish
  • 11
  • 3
  • You should provide a lot more information on what you're doing, including some code. A "blob URL" could be lots of different things. – Dan Wilson May 01 '18 at 13:13
  • i am taking audio input from microphone using browser (using javascript and got a blob URL like : blob:http://localhost:52971/f9b11071-5c04-4d8a-93ac-ee4271fce485) and need to process this audio . – Ravish May 01 '18 at 13:18
  • The MVC controller can't access the blob URL in the browser. You'll need to post the blob to a controller action. Make an AJAX request using `FormData` or a JSON object. – Dan Wilson May 01 '18 at 13:20
  • can you provide some more details? – Ravish May 01 '18 at 13:21
  • https://stackoverflow.com/questions/38783302/sending-audio-blob-to-server – Dan Wilson May 01 '18 at 13:25
  • 1
    https://stackoverflow.com/questions/16454765/how-to-send-blob-data-through-xmlhttprequest-in-asp-net-mvc Problem Solved – Ravish May 01 '18 at 13:35

0 Answers0