有没有办法以编程方式选择PlayTo目的地? [英] Is there a way to select the PlayTo destination programmatically ?
问题描述
大家好,
我正在尝试构建一个应用程序,将视频文件从源流式传输到几个可能的目的地之一,并远程控制播放(播放) ,Pause,Seek ..)。
I'm trying to buils an app that will stream a video file from a source to one of several possible destinations and remotely control the playback (Play, Pause, Seek..).
MSDN上可用的PlayTo示例允许使用PlayTo Managers的UI选择播放目的地。有没有办法以编程方式选择PlayTo目的地?不使用魅力吧?我正在寻找API来做到这一点。
The PlayTo sample available on MSDN allows selection of playback destination using the PlayTo Managers's UI. Is there a way to select the PlayTo destination programatically ? Not using the charm bar ? I am looking for API's to do that.
关于播放控制,我看到了PLayToReceiver中的方法(例如NotifyPaused),但找不到从源机器调用这些方法的方法。
Regarding playback control, I see the methods in PLayToReceiver (e.g. NotifyPaused) but cannot find the way to call these methods from the source machine.
有任何建议吗?
谢谢,
Ady
Ady
推荐答案
我会将这篇文章发送给我们的媒体大师。
I'll send this post to our media guru.
这篇关于有没有办法以编程方式选择PlayTo目的地?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!