将 RTSP 流传输到 Android 的服务器

发布于 2024-08-09 04:02:09 字数 197 浏览 3 评论 0 原文

Flash Media Server 3.5 可以向 Android 媒体播放器提供视频 rtsp 流吗?

或者我们是否需要使用 Wowza 或 red5 向 Android 媒体播放器 rtsp 客户端提供 rtsp 流?

当需要在 Android 上观看视频(没有 Adob​​e Flash 应用程序)时,是否需要考虑其他 rtsp 服务器?

Can Flash Media Server 3.5 serve a video rtsp stream to the Android media player?

Or do we need to use Wowza or red5 to serve an rtsp stream to the Android media player rtsp client?

Are there any other rtsp servers to consider when the video needs to be viewed on Android (without the Adobe Flash app)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

知你几分 2024-08-16 04:02:09

尝试达尔文流媒体服务器。这可以传输 MPEG-4 和 3GPP。

请注意,Android 中的视频播放器支持按照 3GPP PSS 流规范的 RTSP 流。即文件格式为 3GP/MP4,支持的编解码器为 MPEG-4 视频、AVC、MPEG4 音频、AMR 和 H263。

darwin 的一个潜在缺点是您需要第 3 方工具首先进行提示。有几种免费的提示工具。绝对值得一试。

DarwinStreaming 服务器链接

Try darwin streaming server. This can stream MPEG-4 and 3GPP.

Note that Videoplayer in Android supports RTSP streaming as per 3GPP PSS Streaming specifications. i.e fileformat is 3GP/MP4 and the supported codecs are MPEG-4 Video, AVC, MPEG4 Audio, AMR, and H263.

One potential drawback with darwin is you need 3rd party tools to do hinting first.There are several free hinting tools. Definitely worth a try.

DarwinStreaming Server Link

失眠症患者 2024-08-16 04:02:09

FMS 3.5不支持rtsp流。

FMS 3.5 does not support rtsp streaming.

み零 2024-08-16 04:02:09

我可以设法在 Android 2.3 中使用 HTML5 在默认浏览器上播放 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>

我解释了每个部分:

-我使用默认的 Android 浏览器(也在 Dolphin 中工作)

-loop="loop" 部分使流实际上连续播放,如果没有,我每次单击播放时都会听到 0.1 秒的音频。这是黑客攻击还是什么?

- autoplay =“autoplay”部分有效,它实际上会在几秒钟后自动播放(尽管没有像“正在加载...”这样的反馈)

- type =“audio/mpeg”对我来说似乎Android浏览器忽略了这一点,我已经尝试过其他视频/3GPP(是的,视频)并且仍然有效!

-我不确定 autobuffer="autobuffer" 是否真的做了任何事情,因为它不是 HTML5 音频标签定义的一部分,但我已经看到了很多有效的“坏”东西......我应该测试一些情况有和没有,但现在在阿根廷已经很晚了:P

I could manage to play a RTSP stream in Android 2.3 with HTML5 on default browser, no external app, no flash plugin.

<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)

-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. Is this a hack or what?

-The autoplay="autoplay" part works, it actually auto-plays after some seconds (no feedback like "loading..." though)

-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!

-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

玩世 2024-08-16 04:02:09

WOWZA 3 能够在 RTMP、HTTP 和 RTSP 中提供相同的流。我有它运行它。它以 RTMP 形式发布,同时以 RTMP、HTTP 和 RTSP 形式交付。

看看这个:
http://www.wowza.com/forums/content.php?36#publish

希望有帮助。

WOWZA 3 is able to serve the same stream in RTMP, HTTP and RTSP. I have it running it. It is publish as RTMP and delivered as RTMP, HTTP and RTSP at the same time.

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

Hope it helps.

一江春梦 2024-08-16 04:02:09

我的媒体服务器/库支持流式传输到 Android 或任何其他兼容的 RtspClient。

http://net7mma.codeplex.com/

查看 CodeProject @ 上的文章 http://www.codeproject.com/Articles/507218/Managed-Media- Aggregation-using-Rtsp-and-Rtp

如果您还需要任何其他信息,请告诉我!

My Media Server / library supports streaming to Android or any other compatible RtspClient.

http://net7mma.codeplex.com/

Check out the article on CodeProject @ http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp

If you need anything else let me know!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文