WOWZA + RTMP可以在多个设备上播放吗? [英] WOWZA + RTMP to play on Multiple Devices?

查看:123
本文介绍了WOWZA + RTMP可以在多个设备上播放吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然是Wowza/Streaming的新手,但是当我设置所有内容(RHEL + Wirecast)时,我可以通过某种方式从家用PC进行流媒体/广播到EC2 Server.

I'm still a newbie to Wowza/Streaming but when i setup everything (RHEL + Wirecast), i can somehow stream-out/broadcast from my home pc to EC2 Server.

按照Wowza直播教程的说明,我使用了RTMP,在那之后,我获得了FOR PUBLIC(查看器)功能:

As i followed according to Wowza Live-Streaming Tutorial, i used RTMP and after that all i got FOR PUBLIC (Viewer) side are:

  • rtsp ://xx.xx.xx.xx:1935/live/myStream
  • http ://xx.xx.xx.xx:1935/live/myStream/播放列表. m3u8
  • rtsp://xx.xx.xx.xx:1935/live/myStream
  • http://xx.xx.xx.xx:1935/live/myStream/playlist.m3u8

这意味着,我只能通过Flash和iOS播放.
但是在AndroidsWindows Phones上,不支持闪存.

That means, i can ONLY PLAY via Flash and iOS.
But on Androids and Windows Phones, there is NO FLASH supported.

现在我最基本的问题是(也许我遗漏了一些东西,但是):

Now my very basic questions are (may be i'm missing out something, but):

  • 当我流式传输RTMP时,是否仅获得上述两种流式传输类型?
    • rtsp://.......http://........m3u8吗?
    • When i stream RTMP, do i only get two such above stream types?
      • Only, rtsp://....... and http://........m3u8 ?
      • 例如,.mp4 .mov等..通过HTTP吗?
      • Like, .mp4 .mov etc .. via HTTP ?

      由于我是这个话题,请允许我再添加一个问题.

      Since i am on this topic, please let me add an additional question.

      • 在WOWZA上,REALTIME STREAMING + MULTIPLE DEVICES FOR WEB的最佳选择是什么? (我什至还要使用RTMP)吗?
      • HTTP-LIVE-STREAMING是否可以覆盖所有Web播放设备?
      • ON WOWZA, WHAT IS THE BEST WAY TO GO FOR REALTIME STREAMING + MULTIPLE DEVICES FOR WEB? (Should i even still be using RTMP)?
      • DOES HTTP-LIVE-STREAMING COVERS ALL WEB PLAYBACK DEVICES?

      非常感谢您!

      推荐答案

      您可以阅读以下文档: https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder

      You can read this documentation: https://www.wowza.com/docs/how-to-set-up-live-streaming-using-an-rtmp-based-encoder

      它说明:

      1. Flash需要RTMP链接
      2. iOS需要http链接,尤其是.playlist.m3u8
      3. rtsp链接可能由quicktime或旧的android设备(或可能是blackberry)使用
      4. 发布实时流时(例如,通过Flash Media Live编码器通过RTMP),则可以通过RTMP,RTSP,cupertino(Apple HLS),smooth(MS Silverlight),sanjose(Adobe HTTP)播放
      5. .mp4,.mov不是类型" +我们正在谈论实时流媒体,对吧?
      6. 对于VOD流媒体,请使用以下文档: https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming
      1. flash needs RTMP links
      2. iOS needs http links, .playlist.m3u8 in particular
      3. rtsp links may be used by quicktime or old android devices (or blackberry probably)
      4. when you publish live stream (via RTMP via Flash Media Live encoder for example) then you're able to play it via RTMP, RTSP, cupertino (Apple HLS), smooth (MS Silverlight), sanjose (Adobe HTTP)
      5. .mp4, .mov are not "types" + we're talking about live streaming, right?
      6. for VOD streaming use this doc: https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming

      回答您的问题:

      1. 要支持所有设备,您可以使用Flash Media Live Encoder + Wowza Transcoder Addon,因此您将获得不同的流比特率作为任何设备都可以播放的输出(因为编解码器是H264和AAC)
      2. Http实时流-取决于您的意思. ... playlist.m3u8是Apple HLS格式,闪光灯不会播放. 但是http流是..playlist.m3u8,manifest.f4m(Adobe HTTP,OSMF播放),清单(MS Silverlight平滑流).
      1. to support all devices, you can use Flash Media Live Encoder + Wowza Transcoder Addon, so you'll get different stream bitrates as output that any device will be able to play (because codec is H264 and AAC)
      2. Http live streaming - depends on what you mean. ...playlist.m3u8 is Apple HLS format, flash will not play it. but http streaming is ..playlist.m3u8, manifest.f4m (Adobe HTTP, OSMF plays it), Manifest (MS Silverlight smooth streaming).

      对于实时流IMO,您应将RTMP用于Flash,将HLS用于现代Android和iOS. 另外,您还可以检测到旧的(<3.0)Android设备并为它们提供rtsp链接.

      For live streaming IMO you should use RTMP for Flash and HLS for modern Android and iOS. Also you can detect old (<3.0) Android devices and give them rtsp links.

      这篇关于WOWZA + RTMP可以在多个设备上播放吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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