The Media Center Sandbox

Resources and discussion for developing experiences in the Windows Media Center platform.
Welcome to The Media Center Sandbox Sign in | Join | Help
in Search

Trouble streaming from web to mce extender

Last post 09-02-2008, 8:25 PM by bbillade. 0 replies.
Sort Posts: Previous Next
  •  09-02-2008, 8:25 PM 8312

    Trouble streaming from web to mce extender

    I am writing a Vista Media Center application that streams wmv files from the web. The application works fine within Media Center on Vista, but will not stream the video on my 360 extender. Watching TV and video from the hard drive work fine on the extender.

    When I try to play the video on the extender it shows the circular icon as if it is caching then goes to a black screen with no video or sound. If I leave it several seconds it becomes unresponsive and if I hit stop it can take several minutes before showing the 'Stopped' screen. If I try to play the video again after that it will say "Files needed to display video are not installed or not working correctly". I have tried playing the same video on the extender directly from disk and it works fine, so I know it is encoded in a format the extender can play.
     
    I have tried streaming many different videos including the one shown in the MCMLSampler application, "http://play.mediacentersandbox.com/SDKTestVideo.wmv".

    I am calling PlayMedia from within managed code. Here is the function that I am using to play the video.

    public void PlayVideo(string strVideo)
            {
                host.MediaCenterEnvironment.PlayMedia(MediaType.Video, strVideo, false);
                host.MediaCenterEnvironment.MediaExperience.GoToFullScreen();
            }

    I have installed several other Media Center applications such as vmcnetflix and tvtonic which I thought may be causing a problem, but uninstalling them did not help. I have also tried turning off the Vista firewall and DMZing my router. I have run out of ideas for other things to try. Does anyone have a suggestion for something I may have missed. I would like to avoid having to reinstall Vista to try to fix the problem.
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems