Wowza Community

Using absolute URLs in HLS

Hi,

We’ve set the cupertinoRelativePlaylistPlaylists property to false as described here: https://www.wowza.com/docs/how-to-switch-between-absolute-and-relative-urls-in-apple-http-live-streaming-playlists. While the child playlist uses an absolute URL, the actual chunks themselves show up as relative URLs.

HLS URL: http://xxx.xxx:1935/vod/test.mp4/playlist.m3u8

playlist.m3u8 contents:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1174097,CODECS="avc1.66.30, mp4a.40.2",RESOLUTION=640x360
http://xxx.xxx:1935/vod/test.mp4/chunklist.m3u8?wowzasessionid=2121682419

chunklist.m3u8 contents:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:14
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:12.012,
media_0.ts?wowzasessionid=2121682419
#EXTINF:13.213,
media_1.ts?wowzasessionid=2121682419
#EXTINF:10.077,
...
...
media_87.ts?wowzasessionid=2121682419
#EXT-X-ENDLIST

We’re using 3.5.2 patch 8, also tried the latest 3.6.2.

Is this expected behavior?

Hi,

This is expected. If you would like the chunks to also be absolute you need to also use

<Property>
	<Name>cupertinoRelativePlaylistItems</Name>
	<Value>false</Value>
	<Type>Boolean</Type>
</Property>

Most of the time this property is not needed even when using absolute playlists.

Andrew