Removing the 'playlist' from url

I’m accesing a stream using this url:

http://my.own.server/myapp/definst/mystream/playlist.m3u8

And I would like to make it available on this url:

http://my.own.server/myapp/definst/mystream.m3u8

Is there any way of doing this?

Hi,

You could try using the StreamNameAlias AddOn to change the URL (mystream.m3u8) to the correct one without the playback client knowing so the URL would have “mystream.m3u8” on your website. You’d obviously need to test this to see if it works as you’d expect before trying this in a production environment. Details of how to configure the StreamNameAlias can be found in the README included in the download.

Regards,

Jason

I’m getting this error when I try to play http://my.own.server/myapp/abcde.m3u8

WARN server comment - HTTPStreamerAdapterCupertinoStreamer.onPlaylist: Application context not loaded [myapp/abcde.m3u8]: defapp/definst

When I have this on the aliasmap.play.txt

*.m3u8=${Stream.Name}

Any ideas?

Hi,

What’s happening here is that the URL is missing the stream name - the HLS format is http://[SERVER-IP]:1935/[APP-NAME]/[STREAM-NAME]/playlist.m3u8. You can’t use the stream name alias to rewrite the playlist.m3u8, only the stream name. So you will need to include the Wowza app and stream name in your playback URL. You can though change playlist.m3u8 to mystream.m3u8 and it should still stream, but that change needs to be done on the client.

Regards,

Paul