I have a VOD server(Wowza) and now want to integrate it with Akamai CDN. I am using a secure token as query parameter. The URL I am calling with player is:
https://**********akamai.net/vod_app_name/smil:112233445577.smil/playlist.m3u8?hdnea=exp=1555432114~acl=/*~hmac=11c4f9a352200348d58fb77cf64bf437fa60ea3ab4b2bae60bdb157b11beb1cb
And the response I get in Chrome, Safari & Opera is:
<code>#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=264000,RESOLUTION=256x144
chunklist_b264000_sleng.m3u8?hdntl=exp=1555500589~acl=/*~data=hdntl~hmac=58640a72653d2d384e70326656b33601bd2c159d5ecfe25cdb474f2b2012aa04
#EXT-X-STREAM-INF:BANDWIDTH=375000,RESOLUTION=426x240
chunklist_b375000_sleng.m3u8?hdntl=exp=1555500589~acl=/*~data=hdntl~hmac=58640a72653d2d384e70326656b33601bd2c159d5ecfe25cdb474f2b2012aa04
#EXT-X-STREAM-INF:BANDWIDTH=475000,RESOLUTION=640x360
chunklist_b475000_sleng.m3u8?hdntl=exp=1555500589~acl=/*~data=hdntl~hmac=58640a72653d2d384e70326656b33601bd2c159d5ecfe25cdb474f2b2012aa04
#EXT-X-STREAM-INF:BANDWIDTH=575000,RESOLUTION=854x480
chunklist_b575000_sleng.m3u8?hdntl=exp=1555500589~acl=/*~data=hdntl~hmac=58640a72653d2d384e70326656b33601bd2c159d5ecfe25cdb474f2b2012aa04
#EXT-X-STREAM-INF:BANDWIDTH=875000,RESOLUTION=1280x720
chunklist_b875000_sleng.m3u8?hdntl=exp=1555500589~acl=/*~data=hdntl~hmac=58640a72653d2d384e70326656b33601bd2c159d5ecfe25cdb474f2b2012aa04
But in Mozilla firefox the response is not having the query-parameters, it looks like:
<code>#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=264000,RESOLUTION=256x144
chunklist_b264000_sleng.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=375000,RESOLUTION=426x240
chunklist_b375000_sleng.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=475000,RESOLUTION=640x360
chunklist_b475000_sleng.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=575000,RESOLUTION=854x480
chunklist_b575000_sleng.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=875000,RESOLUTION=1280x720
chunklist_b875000_sleng.m3u8
I tried with other HLS URLs (with no Akamai CDN), and in Mozilla everything is working fine.
Akamai guys are saying that there is no problem at there end, I tried with different systems & different ISPs but the same result.
I also tried changing “referer header” (user agent) in browser. Even in Chrome when referer is set to “Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0” the playlist is returned without query parameters. And when in Firefox, I change the user agent the query parameters are present. So it has something to do with user agent.
The same issue is there with DASH, it’s not only HLS issue.