Results 1 to 6 of 6

Thread: RTMP Adaptive with HLS Adaptive Fallback

  1. #1
    Join Date
    Feb 2010
    Posts
    15

    Default RTMP Adaptive with HLS Adaptive Fallback

    Hello,

    I can't see an example so I'm not sure if it is even possible can you do rtmp adaptive with hls adaptive fallback?

    JWPlayer 6 works (but the rtmp is not adaptive)

    sources: [
    {file: 'rtmp://hostname/live/stream1'},
    {file: 'http://hostname/live/smil:stream.smil/manifest.m3u8'}
    ],
    rtmp: {
    bufferlength: 0.1
    }

    So if in a web browser with flash plays the stream1 the HQ version with very low latency (about 1 second) great.

    If on iPhone plays the smil with adaptive HLS and about 6 seconds latency.

    I can't figure out the smil setup need to go rtmp will adaptive streaming. Does Smil even work in RTMP mode?

    Appreciate some guidance on this, I suspect it's unusually.

    End Goal, RTMP and have adaptive bitrate otherwise HLS adaptive bitrate. My Wowza listens on port 80 (as well as the default) so rtmp on port 80 works fine.

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

    Default

    The 2nd example in the JW Player 6 guide shows how to do RTMP Dynamic streaming using JW Player, and leveraging the Wowza server-side smil

    Richard

  3. #3
    Join Date
    Feb 2010
    Posts
    15

    Default

    Quote Originally Posted by rrlanham View Post
    The 2nd example in the JW Player 6 guide shows how to do RTMP Dynamic streaming using JW Player, and leveraging the Wowza server-side smil

    Richard
    Hello,

    I followed the guide but I think the server is not generating the extra stuff for jwplayer, my version is new enough, I think I'm typing the url correctly and my smil file in the content directory is very simple. I'm sure it's something simple but I'm not spotting it.

    When I used this URL:

    http://server:1935/live/smil:streamn.../jwplayer.smil

    I get back:

    Wowza Media Server 3 Monthly Edition 3.6.2 build5334

    In a browser.

    When I use this URL:

    http://server:1935/live/smil:streamn.../manifest.m3u8

    I get back the manifest file that looks like this:

    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
    chunklist_w1471970683_b800000.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=300000
    chunklist_w1471970683_b300000.m3u8

    My Smil file is like this:

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="streamname1" system-bitrate="800000"/>
    <video src="streamname2" system-bitrate="300000"/>
    </switch>
    </body>
    </smil>

    The SMIL URL works great for HLS with the manifest.m3u8.

    With the jwplayer.smil url I'm getting this Error: Mainfest not found or invalid in JWPlayer 6.6.3896 Premium edition.

    I also tried adding this to the Vhost.xml and using the .rss method but no luck.

    <HTTPProvider>
    <BaseClass>com.wowza.wms.http.HTTPProviderMediaList</BaseClass>
    <RequestFilters>*jwplayer.rss</RequestFilters>
    <AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>

    Is there something extra I need to do to enable Wowza to generate a jwplayer.smil?

    Appreciate it if anyone can spot what I could be doing wrong or if I have my understanding completely wrong of how it's supposed to work.

    Regards,

    Speegs
    Last edited by Speegs; 11-04-2013 at 06:28 PM.

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

    Default

    Speegs,

    The /conf/VHost.xml /HostPort (/Port "1935") /HTTPProvider should look like this:

    <HTTPProvider>
    	<BaseClass>com.wowza.wms.http.HTTPProviderMediaList</BaseClass>
    	<RequestFilters>*jwplayer.rss|*jwplayer.smil</RequestFilters>
    	<AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    Not sure how yours lost the "*jwplayer.smil" part, but it should work in Wowza 3.6.2

    You might want to upgrade to 3.6.3 using this patch.

    Richard

  5. #5
    Join Date
    Feb 2010
    Posts
    15

    Default

    Quote Originally Posted by rrlanham View Post
    Speegs,

    The /conf/VHost.xml /HostPort (/Port "1935") /HTTPProvider should look like this:

    <HTTPProvider>
    	<BaseClass>com.wowza.wms.http.HTTPProviderMediaList</BaseClass>
    	<RequestFilters>*jwplayer.rss|*jwplayer.smil</RequestFilters>
    	<AuthenticationMethod>none</AuthenticationMethod>
    </HTTPProvider>
    Not sure how yours lost the "*jwplayer.smil" part, but it should work in Wowza 3.6.2

    You might want to upgrade to 3.6.3 using this patch.

    Richard
    Added that code and still didn't work. Felt like I was going in circles so I completely re-installed everything and then added my customisations manually to the config files to to bring my setup back and fixed it.

    Was something in my config somewhere, but couldn't pinpoint what it was. Anyone else having that problem, might be time to start over. Last fresh start I did was Wowza 2.0, so worth doing every now and then. Thanks for the help.

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

    Default

    Cool, thanks for the update, Speegs. Glad it's working.

    Richard

Similar Threads

  1. Replies: 3
    Last Post: 07-30-2013, 10:25 AM
  2. Adaptive bitrates for RTMP
    By m4tt_turner in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 06-08-2013, 02:22 AM
  3. HLS Adaptive streaming for VOD?
    By eTiMaGo in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 11-27-2012, 03:51 PM
  4. VOD --- rtmp with hls adaptive fallback
    By bobmane in forum Video On Demand Streaming Discussion
    Replies: 12
    Last Post: 08-26-2012, 05:39 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
  •