Results 1 to 6 of 6

Thread: Live broadcasts fine on ios and pc - but exactly what is needed to go on Android?

  1. #1

    Default Live broadcasts fine on ios and pc - but exactly what is needed to go on Android?

    I broadcast live rtmp streams with FMLE. Despite reading the forums, I can't figure out if, to be viewed on Android, I need to:

    1. send out an additional rtsp stream from a second instance of FMLE for all my broadcasts
    2. do a transcode of all my live streams from rtmp to rtsp using a wowza add on
    3. use the existing rtmp stream with some extra semantics (playlist.m3u8) like the ios devices use to make it http: (jeez - how does that work?)

    Thanks for the probably very obvious answer


  2. #2
    Join Date
    May 2013


    Android devices 4.0+ generally support hls playback. Your playback would look the same as your iOS device. Typically in mosts iterations of Android a rtsp url is an accepted fallback as well. I would try both protocols with your sample.mp4 file that comes with your Wowza installation to do your initial testing:

  3. #3
    Join Date
    Dec 2013


    I only do live streaming... just tested this in my web-page. I think your code is for recorded video, so this was not going to work anyway:

    I would appreciate it if you can you please take a look at the code below and let me know what it should be.

    <video controls="controls" width="100%"
    	src="rtsp://[my server]:1935/broadcast/LosAngeles/Los Angeles/mp4:sample.mp4"															
            src="http://[my server]:1935/broadcast/LosAngeles/Los Angeles/playlist.m3u8"
    The Iphone stopped playing - the playlist.m3u8 does work on its own, it is my normal code. Haven't tried android yet, but am pretty sure it won't work either.

    Still unsure how, when live streaming just rtmp and no fancy server stuff, I can also get http and rtsp.... Just good karma, I guess!

    Thanks in advance,


  4. #4



    You just need to ensure the URL in your code matches what Wowza generates. So for example an HTML5 web page hosting a live Apple HLS live steam can be as simple as:
            <video controls src="http://[WOWZA-SERVER-IP]:1935/live/myStream/playlist.m3u8">

    live = a Wowza application called live
    myStream = a stream that is being ingested by the "live" application

    To do more elaborate streaming, including fallback to Flash (rtmp) I'd take a look at JWPlayer.

    You could code this fallback yourself in HTML5 but it does require more complex code. This article has an example.


  5. #5
    Join Date
    Dec 2013



    I am doing that - it works - and with fallback to flash, also working. Could you please give me a line for providing rtsp to androids similar to the one above you gave above for providing http to ios devices. The one for live streams please.

    That would complete my player.
    btw, the line above only works for devices above iPhone 4 like iPhone 4s - at least that is my experience. Is this correct?

    Thanks again,

  6. #6
    Join Date
    Jun 2011


    Unfortunately you can't put rtsp urls in a video tag, as that's not supported in most html5 implementations.
    Your best option is to provide a href link on this side,that provides clickable link that says "Click here for the Android RTSP stream"
    or similar.

    <div id="rtsp_live">
        <a href="rtsp://xx.xx.xx.xx:1935/live/myStream"><img border="0"
                               alt="EXAMPLE RTSP"
                               height="240"/>click to play Android RTSP stream</a>

Similar Threads

  1. iOS live streaming disconnects right away other devices are fine
    By vladworks in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 02-17-2014, 12:56 PM
  2. HLS on IOS always stops. (works fine in flash)
    By markwalker in forum General Forum
    Replies: 3
    Last Post: 07-12-2013, 09:06 AM
  3. iPhone, iPad freezes live broadcasts.
    By ruzzgar in forum General Forum
    Replies: 0
    Last Post: 04-25-2013, 01:19 AM
  4. Apple iOS not streaming, everything else works fine.
    By rviteri in forum Live Streaming and Encoder Discussion
    Replies: 14
    Last Post: 11-24-2012, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts