简体   繁体   English

服务器将RTSP流式传输到android

[英]Server to stream RTSP to android

Can Flash Media Server 3.5 serve a video rtsp stream to the Android media player? Flash Media Server 3.5可以为Android媒体播放器提供视频rtsp流吗?

Or do we need to use Wowza or red5 to serve an rtsp stream to the Android media player rtsp client? 或者我们是否需要使用Wowza或red5为Android媒体播放器rtsp客户端提供rtsp流?

Are there any other rtsp servers to consider when the video needs to be viewed on Android (without the Adobe Flash app)? 当需要在Android上查看视频时,是否还有其他rtsp服务器需要考虑(没有Adobe Flash应用程序)?

Try darwin streaming server. 试试darwin流媒体服务器。 This can stream MPEG-4 and 3GPP. 这可以流式传输MPEG-4和3GPP。

Note that Videoplayer in Android supports RTSP streaming as per 3GPP PSS Streaming specifications. 请注意,Android中的Videoplayer根据3GPP PSS Streaming规范支持RTSP流。 ie fileformat is 3GP/MP4 and the supported codecs are MPEG-4 Video, AVC, MPEG4 Audio, AMR, and H263. 即fileformat是3GP / MP4,支持的编解码器是MPEG-4视频,AVC,MPEG4音频,AMR和H263。

One potential drawback with darwin is you need 3rd party tools to do hinting first.There are several free hinting tools. darwin的一个潜在缺点是你需要第三方工具来先做提示。有几个免费的提示工具。 Definitely worth a try. 绝对值得一试。

DarwinStreaming Server Link DarwinStreaming服务器链接

I could manage to play a RTSP stream in Android 2.3 with HTML5 on default browser, no external app, no flash plugin. 我可以设法在默认浏览器上使用HTML5在Android 2.3中播放RTSP流,没有外部应用程序,没有Flash插件。

<audio autoplay="autoplay" controls="controls" autobuffer="autobuffer" loop="loop">
<source src="rtsp://74.115.208.37:1935/live/luxweradio2_8403.stream" type="audio/mpeg" />
</audio>

I explain each part: 我解释每个部分:

-I'm using the default Android browser (also worked in Dolphin) - 我正在使用默认的Android浏览器(也在Dolphin工作)

-The loop="loop" part made the stream actually play continuously, without that I heard like 0.1 seconds of audio each time I clicked play. -the loop =“loop”部分使得流实际上连续播放,没有我听到每次点击播放时的0.1秒音频。 Is this a hack or what? 这是一个黑客还是什么?

-The autoplay="autoplay" part works, it actually auto-plays after some seconds (no feedback like "loading..." though) - autoplay =“autoplay”部分有效,它实际上会在几秒钟后自动播放(没有像“loading ...”这样的反馈)

-The type="audio/mpeg" for me it seems like Android browser ignores that, I've tried others like video/3GPP (yes, video) and still worked! -the type =“audio / mpeg”对我来说似乎Android浏览器忽略了这一点,我尝试过其他像视频/ 3GPP(是的,视频)并且仍然有效!

-I'm not sure if autobuffer="autobuffer" actually does anythinhg 'cause it isn't part of the HTML5 audio tag definition, but I've seen so many "bad" things that work... I should test some cases with and without, but it's pretty late now here in Argentina :P - 我不确定autobuffer =“autobuffer”是否实际上做了任何事情因为它不是HTML5音频标签定义的一部分,但我看到很多“坏”的东西都有效......我应该测试一些案例有没有,但现在阿根廷已经很晚了:P

FMS 3.5不支持rtsp流。

WOWZA 3 is able to serve the same stream in RTMP, HTTP and RTSP. WOWZA 3能够在RTMP,HTTP和RTSP中提供相同的流。 I have it running it. 我有它运行它。 It is publish as RTMP and delivered as RTMP, HTTP and RTSP at the same time. 它作为RTMP发布,同时作为RTMP,HTTP和RTSP提供。

See this: http://www.wowza.com/forums/content.php?36#publish 请参阅: http//www.wowza.com/forums/content.php?36#publish

Hope it helps. 希望能帮助到你。

My Media Server / library supports streaming to Android or any other compatible RtspClient. 我的媒体服务器/库支持流式传输到Android或任何其他兼容的RtspClient。

http://net7mma.codeplex.com/ http://net7mma.codeplex.com/

Check out the article on CodeProject @ http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp 查看有关CodeProject的文章@ http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp

If you need anything else let me know! 如果您还有其他需要,请告诉我!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM