Smil and rtmp for live stream

Hello!

I am trying to configure Wowza to generate smil format to play rtmp protocol for a live stream

I’ve followed this tutorial

https://www.wowza.com/docs/how-to-create-and-play-smil-files-with-streams-created-by-wowza-transcoder

The manifest.f4m we use previously for HDS is

http://[wowza-ip]/live/4metest1/ngrp:test/manifest.f4m

so I adapt the url in the tutorial to this one

http://[wowza-ip]/medialist?streamname=ngrp:test&application=live&format=smil

but this is what I get

[HTML]

Wowza Media Server 3 Monthly Edition 3.6.3 build8031 Wowza Media Server 3 Monthly Edition 3.6.3 build8031

[/HTML]

The problem is not in the transcoder because if i give this url to osmf player

rtmp://[wowza-ip]/live/4metest1/test-512

i can play the video correctly.

any suggestion?

Hi, the article you linked to:

How to create and play SMIL files with streams created by Wowza Transcoder

Is used to create a .smil file for use with a LiveStreamRepeater where ngrp do not get forwarded to the edge. The idea is that with this tool you can create a SMIL from using the medialist tool on the origin and create a file that you host in the content folder on the edge.

If you are not using a LiveStreamRepeater then you do not need to use this article.

Instead you would use a URL like this:

http://[wowza-ip-address]:1935/live/ngrp:myStream_all/manifest.f4m

Stream Name Groups (ngrp) serve the same purpose as a SMIL playlist file.

Salvadore

Hi,

Take a look at the following Live adaptive bitrate playback with SMIL file example

I think this can be useful in your scenario.

Zoran

I use osmf player, but your hint is useful:

using this link i can get a manifest compatible with osmf

http://[wowza-ip]:1935/live/4metest1/ngrp:test/jwplayer.smil

this is the manifest i get

<smil>
	<head>
		<meta base="rtmp://4metest1-1389973139-preview.4mecloud.it:1935/live/4metest1" />
	</head>
	<body>
		<switch>
			<video src="mp4:test-512" system-bitrate="504000" width="480" height="360"/>
			<video src="mp4:test-256" system-bitrate="254000" width="320" height="240"/>
		</switch>
	</body>
</smil>

I am sorry, I got confused and didnt realize this was in regards to RTMP streaming.

Wowza ABR with a .smil file does not work directly with RTMP, but you can achieve this with JW Player.

Please see the following articles.

This article explains how to generate the client-side RSS or SMIL file for use with JW Player:

How to use LongTail JW Player with adaptive bitrate streaming from Wowza Media Server

This article explains how to use JW Player with Wowza, the second example in the article also describes how to set up ABR with JW Player:

How to use LongTail JW Player 6 with Wowza Media Server

Salvadore