Playing .WAV does not work per se

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Jun 2013

    Posted 01 Jul 2013 Link to this post

    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
  2. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 04 Jul 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top