WOWZA + RTMP to play on Multiple Devices?

血红的双手。 提交于 2019-12-04 09:04:22
rshmelev

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

It explains that:

  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

Answering your questions:

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!