Record and play audio in Silverlight

I have a Silverlight 4 application that records a user's voice through a microphone. Now, once the recording is complete, I need to play the recorded voice to the user before sending it to the server. Is it possible to reproduce it at all for the user without going into a format, etc.? Any ideas are welcome. Thanks!

+6
record audio playback
source share
1 answer

I believe that you can create a MediaElement and then use its SetSource () method to pass it a stream containing the data received by your application through CaptureSource.

For example:

MediaElement.SetSource(Stream yourStream); 

Does it help?

+2
source share

All Articles