This is a migrated thread and some comments may be shown as answers.

Playing .WAV does not work per se

1 Answer 72 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 01 Jul 2013, 04:09 PM
Hi,
What I am trying to do is use the built-in webcam mic to capture audio, save it and play it back.  I understand - from reading the threads - that the RadMediaPlayer supports what the SL MediaElement does.  

I am able to capture the audio and save it.  However when I play it back it fails.  I have found that I when I utilize the SL MediaElement I can use WaveMediaStreamSource http://archive.msdn.microsoft.com/wavmss as the stream and it plays.  

I am unable to do the same with the RadMediaItem.  Its source wants a URI.  Just passing the file URI (file:///c:/temp/foo.wav) does not work.  If I open it as a stream and assign it to the RadMediaPlayer.MediaElement it works.  However, I cannot use the play, pause buttons.

Any guidance here?

Thanks!

Joe

1 Answer, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 04 Jul 2013, 08:41 AM
Hi Joe,

I would like to suggest you the following article in case you have missed it: http://www.telerik.com/help/silverlight/radmediaplayer-smoothstreaming.html .
The key part is to pass the URI to the RadMediaItem and initialize the streaming source inside StreamAttached event.

In case that does not work, could you please provide us s strip down version of your project so we could investigate it?

Regards,
Hristo
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
MediaPlayer
Asked by
Joe
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Share this question
or