MediaElement在Windows Phone 8.0+中不适用于StreamURL? [英] MediaElement is Not Working for StreamURL in Windows Phone 8.0+?

查看:63
本文介绍了MediaElement在Windows Phone 8.0+中不适用于StreamURL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

Hello,

流媒体网址在Windows Phone上不起作用8.0 / 8.1。相同的URL正在Window Store App上运行。任何人都知道为什么在Windows Phone中需要进行任何更改?

Streaming URL is Not Working on Windows Phone 8.0/8.1. Same URL is working on Window Store App. Any one have idea why this is Happening any changes need to done in windows Phone?

源代码:

  mediaElement.Source = new Uri(@" http://114.xx0.45.xx4:1021 /",UriKind.Absolute);

  mediaElement.Source = new Uri(@"http://114.xx0.45.xx4:1021/",UriKind.Absolute);

mediaElement.Play ()

mediaElement.Play()

XML代码:

谢谢

Krishna

推荐答案

您好,

我们仅通过Smooth Streaming客户端SDK支持Microsoft的专有流协议和MPEG Dash。您在上面引用的流使用渐进式下载,但不支持流式格式。因此,源格式可能不会按预期播放
。由于它是一种不受支持的"流式传输"方式。媒体我不确定该设备将如何处理它。我知道在附加到这样的流时你会遇到重大的缓存问题。

We only support Microsoft's proprietary streaming protocols and MPEG Dash via the Smooth Streaming client SDK. The stream you reference above uses progressive download and is not in a supported streaming format. Because of this the source format may not play back as expected. Since it is an unsupported way of "streaming" media I'm not sure how the device will handle it. I know that you are going to have major cache issues when attaching to a stream like this.

-James


这篇关于MediaElement在Windows Phone 8.0+中不适用于StreamURL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆