本文介绍了帮助进行流式传输(MediaElement或SmoothStreaming)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用音频流测试了arround,但是在电话(或仿真器)上没有成功,也没有声音.我阅读了所有类型的文章,但到目前为止还没有运气-好吧,我能够获得发现运行的示例,但无法使用最初测试的流.

下面的URL在Windows MediaPlayer,浏览器(IE)和设计器(Visual Studio 2010)中均有效,但在电话或模拟器上则无效.我已经测试了MediaElement和SmoothStreamingMediaElement-电话上没有声音...我还添加了 各种帖子中建议使用的参数,如?ext = .mp3等.

以下链接以不同的格式提供了流,但是如上所述,没有人在电话上工作.链接:

MP3:http://live.radio24.ch:80/radio24
WMS:http://asx.skypro.ch/radio/internet-128/radio24.asx
真实:rtsp://live.radio24.ch:80/radio24
mms://live.radio24.ch:80/radio24

我如何检查为什么它不起作用?这是流格式的问题吗?有没有办法验证格式并检查电话是否支持这种格式?有人可以帮我吗?

谢谢!
Urs

I have tested arround with audio streaming, but with no success, no sound, on the phone (or emulator). I read all kind of articles, but no luck so far - well, I was able to get the samples I found running, but not with the stream I initially tested.

The URLs below work in Windows MediaPlayer, in the Browser (IE) and also in the designer (Visual Studio 2010), but not on the phone or emulator. I have tested the MediaElement and the SmoothStreamingMediaElement - no sound on the phone... I have also added parameters like ?ext=.mp3, etc as suggested in various posts.

The following links provide the stream in different formats, but as said, no one works on the phone. Links:

MP3: http://live.radio24.ch:80/radio24
WMS: http://asx.skypro.ch/radio/internet-128/radio24.asx
Real: rtsp://live.radio24.ch:80/radio24
mms://live.radio24.ch:80/radio24

How can I check why this is not working? Is this an issue with the format of the stream? Is there a way to verify the format and check if this is supported on the phone? Someone could help me with that?

Thanks!
Urs

推荐答案


这篇关于帮助进行流式传输(MediaElement或SmoothStreaming)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 00:04