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
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