在 WP7 和 WP7 上计算机,使用 SMF(Silverlight 媒体框架)自动播放第一个播放列表项目
我目前有一个来自 Wowza 服务器的 SmoothStreaming 视频,我们目前正在使用 SMF 在 Windows Phone 7 和计算机上播放该视频。我们正在将清单添加到播放列表并将其设置为
PlaylistItem { DeliveryMethod = DeliveryMethods.AdaptiveStreaming };
我们当前面临的问题是,即使播放器设置为 AutoPlay="True",视频也不会自行启动。我们必须打开播放器中的播放列表并选择第一个视频才能开始播放。
我们还尝试了 CurrentPlaylistItem,但这并没有改变任何东西。
有人处理过 Wowza 服务器的平滑流媒体吗?有人可以解释一下这种奇怪的行为吗?
I currently have a SmoothStreaming video comming from a Wowza server and We are currently using the SMF to play the video on the Windows Phone 7 and on the computer. We are adding the Manifest to the playlist and setting it to
PlaylistItem { DeliveryMethod = DeliveryMethods.AdaptiveStreaming };
The problem we are currently facing, is that even if the player is set on AutoPlay="True", the video will not start on it's own. We must open the play list in the player and select the first video for it to start playing.
we have also tried to the CurrentPlaylistItem, but this has not changed anything.
has anyone dealt with smoothstreaming from a Wowza Server? Can someone shed some light on this strange behavior?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当尝试使用 SMF(Silverlight Media Framework)在 Windows Phone 7 上播放视频时,重要的是要知道 H.264/MPEG-4 视频不会在模拟器中播放,并且如果连接了设备也不会播放到计算机。仅当设备通过 WIFI 或 3G 连接时才会播放视频。
此外,请确保拥有最新版本的 SMF。据报道,绑定 CurrentPlaylistItem 在某些版本上不起作用。解决此问题的一个快速解决方案是在代码中而不是在 xaml 中进行绑定。
When trying to play a video on the Windows Phone 7 using the SMF (Silverlight Media Framework) it is important to know that a H.264/MPEG-4 video will not play in the emulator, and will not play if the device is connected to the computer. The video will play only if the device is connected via WIFI or 3G.
Further more, be sure to have the latest version of the SMF. It was reported that binding the CurrentPlaylistItem does not work on certain versions. A quick solution to this problem, is to make the binding in code and not in xaml.