locked
The AutoPlay problem of PlayTo

    Question

  • The first video was played automatically without problem in PlayTo screen. However, when I loaded another video and play, the PlayTo did not auto play, I had to click the play button on the second screen (Media Player Receiver) to start the playback. What is wrong?

    Charlie Chang L

    Friday, September 07, 2012 2:12 AM

All replies

  • Hello Charlie,

    Unfortunately you have not supplied enough information for me to determine what your problem might be. Can you please provide more detail on your architecture? How are you loading another video to play? When calling "set source" on your ME when "auto play" is enabled should start the next source playing automatically. Maybe I'm missing something in your scenario.

    -James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Friday, September 07, 2012 8:31 PM
    Moderator
  • The problem is only in PlayTo. The local playback is no problem.  I just added several lines from the PlayTo C++ sample for PlayTo function.

    I played a list of video files one after another. After launching my metro App, I switched to Desktop and launch Windows Media Player which was enabled the playto streaming. (My laptop was attached to another big monitor.) Then I switched back to my metro App and opened the Devices on right side of Windows. The first media was displayed without problem. It displayed something like "Media from MyApp". Then I select another video file, sometimes the video can be launched, most of time the video stayed there. I can click the play button on Windows Media Player, then the video can be played. After playing several files the Media Player will wait media forever. I have to signoff to make PlayTo available. During my signed off, there was an error message "something about DDE server memory access error".

    BTW. The line Platform::CallbackContext::Any in the PlayTo C++ sample showed an error but I ignored it.


    Charlie Chang L

    Friday, September 07, 2012 11:52 PM
  • Hello Charlie,

    This does sound like a problem. Can you please provide me with a simple sample application that reproduces the issue? Please zip up your VS project and put it on your Skydrive and then share the link here. Please detail how to reproduce the issue when you post the link.

    Thanks,

    James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Saturday, September 15, 2012 12:57 AM
    Moderator
  • In my special scenario it may not work and my testing Win 8 is Preview. But when I applied PlayTo on two individual Windows 8 PC, there is no problem. A little problem is because of the network delay some media does not display instantly in my testing of WiFi-g connection. 

    Charlie Chang L

    Friday, September 21, 2012 4:02 PM