Results 1 to 5 of 5

Thread: Android support / Rtsp fallback on dynamic streams

  1. #1
    Join Date
    Apr 2013
    Posts
    1

    Default Android support / Rtsp fallback on dynamic streams

    I'm using jw player version 6 on the newest Wowsa server. I'm doing a live stream from a tricaster. Which I am streaming rtmp to the server. In jw player I'm using native support for sil lists for HLS and html5. My problem is I can stream to desktops and apple products just fine. But android products don't play back at all.

    I've added a direct link to an rtsp which works in QuickTime on my desktop but no luck on android.

    Do I need to use a special app to view rtsp on android? Any other ideas?

    Thanks

    Brian

    References I've been using
    http://www.longtailvideo.com/support...hls-streaming/
    http://www.wowza.com/forums/content.php?484
    http://www.longtailvideo.com/blog/31...ng-on-android/

    Code/////

    get_header(); ?>
    <div id="myElement">Loading the player...</div>

    <div id="myElement">
    <a href="rtsp://stream.ilight.net/apa/live1">watch this stream on android</a>
    </div>

    <div id='my-video'></div>

    </div>
    <script type="text/javascript">
    jwplayer("myElement").setup({



    playlist: [{
    image: "/uploads/SnowyTest4.jpg",
    sources: [
    { file: 'http://stream.ilight.net/apa/smil:apa.smil/jwplayer.smil'},
    { file: 'http://stream.ilight.net/apa/smil:apa.smil/manifest.f4m' },
    { file: 'http://stream.ilight.net/apa/smil:apa.smil/playlist.m3u8'}
    ]
    }],
    height:480,
    width: 854


    });
    </script>

  2. #2

    Default

    You might want to try "rtsp://stream.ilight.net:1935/apa/live1"

    Adding the port number works for me, although I can't remember if it's really needed, or not.

    Now, while I've been able to get some Android devices to play back, I haven't been able to get *all* Android devices to play back. Unfortunately, Google seems to change their video requirements at every OS update. Add to that the large number of different manufacturer using different technology/hardware with software variances (even between different versions of the same "line") and you find yourself in a huge mess. I'm guessing there is a browser/player out there that might offer really good support across a large number of different OS/hardware devices (Android), but I don't want to have to force my end viewers to install something special just to watch a simple live stream.

    David L Good

  3. #3
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Test the RTSP Wowza stream in VLC. Does it take 10 seconds or more to start? If so, check Tools > Codec info. If you see two sets of audio and video info, that indicates that VLC failed over to TCP, which is why start up take so long. Many mobile devices only stream over UDP and are not able to fail-over

    And you might need to follow this configuration guide:
    http://www.wowza.com/forums/content....-RTP-streaming

    For more on UDP ports:
    http://www.wowza.com/forums/content....P-RTP-playback

    Richard

  4. #4

    Default

    There is also a fallback property in the JWPlayer config, and in the RTSP sample for Android, they explicitly set that value to false.

    -Robert

  5. #5
    Join Date
    Aug 2011
    Posts
    8

    Default

    Quote Originally Posted by davidlgood View Post
    You might want to try "rtsp://stream.ilight.net:1935/apa/live1"

    Adding the port number works for me, although I can't remember if it's really needed, or not.

    Now, while I've been able to get some Android devices to play back, I haven't been able to get *all* Android devices to play back. Unfortunately, Google seems to change their video requirements at every OS update. Add to that the large number of different manufacturer using different technology/hardware with software variances (even between different versions of the same "line") and you find yourself in a huge mess. I'm guessing there is a browser/player out there that might offer really good support across a large number of different OS/hardware devices (Android), but I don't want to have to force my end viewers to install something special just to watch a simple live stream.

    David L Good

    Default port for RTSP is 554, so any time you run the service on another port you need to include it in the URL - 1935 in this case.

    Found this searching for a solution for us as well... desktops/laptops work, iphones/ipads work, still working on stuff for android users for our live stream (teaching zoo)

Similar Threads

  1. android - chorme doesn't support rtsp after last chrome update.
    By uncle99 in forum Media Players and Devices
    Replies: 3
    Last Post: 10-07-2014, 06:34 AM
  2. Wowza 4 support Dynamic Load Balancing?
    By Patrickz in forum AddOn: Other AddOns
    Replies: 1
    Last Post: 02-21-2014, 06:22 AM
  3. Replies: 2
    Last Post: 10-20-2013, 07:10 PM
  4. Adding dynamic RTSP streams and more
    By kshaikh in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 06-14-2013, 07:49 AM
  5. Player code example for LIVE dynamic bitrate support
    By jonathanross in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 12-19-2011, 01:54 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
  •