Upload from Memory Stream

Jul 22, 2012 at 10:06 PM
Edited Jul 23, 2012 at 9:02 PM

I have some Silverlight audio recorder data (already packed in .WAV file format [RIFF]) that I want to upload that are at an in-memory stream, but not sure how I'd use your UI-less component to upload it to the server.

See http://clipflair.codeplex.com - it's the AudioUpload solution under the "Client" folder of the sourcecode. It uses some 3rd party code currently to do the audio uploading that is very broken, it corrupts the uploaded audio often. It is based on http://silvoicerecordupload.codeplex.com/

Thanks in advance for any pointers

Jul 23, 2012 at 7:29 PM

Using the UploadClient, calling the UploadStreamAsync method.

Jul 26, 2012 at 1:46 PM
Edited Jul 26, 2012 at 1:54 PM

just a note for future visitors to this thread, see the discussion at http://interlink.codeplex.com/discussions/387878 for the code that does upload via interlink library of the audio [in WAV file form] that was captured in memory (the resulting project is at http://clipflair.codeplex.com - see Client/AudioUpload solution in the latest sourcecode)

Also with a little work you could replace the audio upload UI with a nicer looking one that uses MVVM concept - http://blog.ondrejsv.com/post/Audio-recorder-Silverlight-4-sample.aspx