Wowza Community

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.

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

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

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

Richard

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:streamname.smil/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:streamname.smil/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:

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.