Results 1 to 4 of 4

Thread: Live streaming to Android devices not working (all other browsers are great)

  1. #1
    Join Date
    Jul 2013
    Posts
    11

    Default Live streaming to Android devices not working (all other browsers are great)

    Hi all,

    I'm having a bunch of difficulty streaming to Android devices. On the client, I'm using JWPlayer. I've read the documentation here and it's helped me get live streaming working pretty much everywhere exception Android - http://www.longtailvideo.com/support...hls-streaming/. I'm not exactly sure what protocol to target on Wowza (or if it's even enabled for me?) in order to get this to work with Android. I also probably need to make some adjustments to JWPlayer, so if anyone here has experience with handling both, I'd absolutely love some help. Here's an excerpt of what my JavaScript looks like right now:

     jwplayer("insider_tv").setup({
          playlist: [{
            image: "/jwplayer/tv_overlay.png",
            sources: [{
              file: "rtmp://fi.stevefink.net:1935/live/fiStream"
            },{
              file: "http://fi.stevefink.net:1935/live/fiStream/playlist.m3u8"
            },{
              file: "rtsp://fi.stevefink.net:1935/live/fiStream"
            }]
          }],
          primary: "flash",
          skin: "roundster",
          width: "100%",
          aspectratio: "16:9"
        });
    That works great for desktop browsers and for iPad and iPhone devices. Getting no playable sources found on Android as can be seen here: https://www.evernote.com/shard/s54/s...d8e24e2425dcc0

    Would anyone be able to help me figure out what I'd need to get done on the Wowza side of things + JWPlayer side of things to add Android to the list of devices that can get some love with our live stream?

    Thanks for any and all help folks.

  2. #2

    Default

    You can add rtsp fallback like this:
    <div id='insider_tv'><a href='rtsp://fi.stevefink.net:1935/live/fiStream'>Insider TV</a></div>
     jwplayer("insider_tv").setup({
          playlist: [{
            image: "/jwplayer/tv_overlay.png",
            sources: [
           { file: "rtmp://fi.stevefink.net:1935/live/fiStream" },
           { file: "http://fi.stevefink.net:1935/live/fiStream/playlist.m3u8" },
            ],
          }],
          primary: "flash",
          skin: "roundster",
          width: "100%",
          aspectratio: "16:9"
          fallback: false
        });
    The fallback: false part tells the javascript not to replace the contents of the div tag if it cannot render a player. This way your link is displayed instead.

    Salvadore

  3. #3
    Join Date
    Jul 2013
    Posts
    11

    Default

    Quote Originally Posted by salvadore View Post
    You can add rtsp fallback like this:
    <div id='insider_tv'><a href='rtsp://fi.stevefink.net:1935/live/fiStream'>Insider TV</a></div>
     jwplayer("insider_tv").setup({
          playlist: [{
            image: "/jwplayer/tv_overlay.png",
            sources: [
           { file: "rtmp://fi.stevefink.net:1935/live/fiStream" },
           { file: "http://fi.stevefink.net:1935/live/fiStream/playlist.m3u8" },
            ],
          }],
          primary: "flash",
          skin: "roundster",
          width: "100%",
          aspectratio: "16:9"
          fallback: false
        });
    The fallback: false part tells the javascript not to replace the contents of the div tag if it cannot render a player. This way your link is displayed instead.

    Salvadore
    Thank you for the help Salvador, this solution works great.

  4. #4

    Default

    Thanks for the update and glad I could help!

    Salvadore

Similar Threads

  1. Consulting and implementation - Stream and playback on IOS/Android/browsers(Mac/PC)
    By ronnywe in forum Integrating Wowza into your workflow
    Replies: 2
    Last Post: 07-18-2013, 08:37 AM
  2. EC2 performance for live streaming not so great...
    By dpMediaDev in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 4
    Last Post: 03-06-2013, 09:00 AM
  3. RTSP not working on android devices (ok on VLC)
    By shoeboxdnb in forum Live Streaming and Encoder Discussion
    Replies: 10
    Last Post: 12-05-2012, 11:28 AM
  4. Live Streaming is not working on Android
    By nadinchathura in forum General Forum
    Replies: 3
    Last Post: 11-23-2012, 07:02 AM
  5. Live Streaming to IOS and Android Devices Latency
    By GameDayXtra in forum Performance Tuning Discussion
    Replies: 2
    Last Post: 06-20-2012, 11:53 AM

Posting Permissions

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