Java API to resolve SMIL file (AMLST) - Not working for HDS and HLS

Hi everyone,

I developed a module to resolve SMIL file request, just as described in this article (https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests).

It works pretty fine when a SMIL file is requested. By requesting the URL http://[wowza-server-url]/[application]/[app-instance]/amlst:[prefix]/medialist.smil it presents the following file:

<smil>
<head></head>
<body>
	<switch>
		<video src="video1" system-bitrate="1064000" width="1280" height="720">
			<param name="audioBitrate" value="64000" valuetype="data"/>
			<param name="videoBitrate" value="1000000" valuetype="data"/>
		</video>
	</switch>
	<switch>
		<video src="video1_500" system-bitrate="564000" width="1280" height="720">
			<param name="audioBitrate" value="64000" valuetype="data"/>
			<param name="videoBitrate" value="500000" valuetype="data"/>
		</video>
	</switch>
</body>
</smil>

But by requesting the URL http://[wowza-server-url]/[application]/[app-instance]/amlst:[prefix]/manifest.f4m it presents the following file, with only one stream path:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns="http://ns.adobe.com/f4m/1.0">
	<id>video1</id>
	<width>1280</width>
	<height>720</height>
	<mimeType>video/mp4</mimeType>
	<streamType>live</streamType>
	<deliveryType>streaming</deliveryType>
	<bootstrapInfo id="bootstrap1064000" profile="named" url="playlist_b1064000_w1016359968.abst"/>
	<media bootstrapInfoId="bootstrap1064000" width="1280" height="720" bitrate="1039" url="media_b1064000_w1016359968.abst/">
	<metadata>AgAKb25NZXRhRGF0YQMACWZyYW1lcmF0ZQBAPgAAAAAAAAAFd2lkdGgAQJQAAAAAAAAABmhlaWdodABAhoAAAAAAAAAMdmlkZW9jb2RlY2lkAgAEYXZjMQANdmlkZW9kYXRhcmF0ZQBAl3AAAAAAAAAXdmlkZW9rZXlmcmFtZV9mcmVxdWVuY3kAQF4AAAAAAAAADGF1ZGlvY29kZWNpZAIABG1wNGEAD2F1ZGlvc2FtcGxlcmF0ZQBA5YiAAAAAAAANYXVkaW9jaGFubmVscwA/8AAAAAAAAAANYXVkaW9kYXRhcmF0ZQBAUAAAAAAAAAAACQ==</metadata>
	</media>
</manifest>

The same thing happens when an HLS file is requested (playlist.m3u8)

Has anyone tried to use this module?

Do I need to apply any extra configuration to make it working for other kind of files besides SMIL files?

Any help would be really appreciated.

Hi ciroanunciacao,

I have the exact same problem!!! It works fine for RTMP, but HLS is completely failing …

I’m using Wowza Streaming Engine 4.1.2

I can see the call passing to my IMediaStreamNameAliasProvider2 instead of going to IMediaListProvider

The strange thing is that it is working on android/jwplayer HLS but not on iPad/jwplayer so it could be a jwplayer issue?

Thanks

Humam

Has this been taken care of? I’m still having an issue in 4.2 where the amlst request is returning a 404 for an F4M manifest request.

Hi,

This will now be handled in the created ticket (126544).

Jason

Any Support on this one Guys :confused:

Thanks,

Humam