Anton Babinov

Akamai Token Authentication for live hls streams.

Discussion created by Anton Babinov on Jul 10, 2015
Latest reply on Jul 16, 2015 by Anton Babinov

Hello all.

 

How Token Authentication supposed to work in case of live hls streams?

 

On the initial request, video player request playlist.m3u8 file with hdnts token appended to url. According to Akamai support team, hdnts token is needed only for the first request and, as long as hdntl cookie is set properly in cookie header of the request, playlist should be available just with hdntl token. However, on all my subsequent requests to playlist.m3u8  Akamai server responds with 403. I don't have any issues with accessing ts chunks, but playlist.m3u8 is only accessible with hdnts token. here is an example of the request:

 

10.1.15.47.55395 > 87.245.200.97.80: Flags [P.], cksum 0xa65a

(correct), seq 1:341, ack 1, win 7300, options [nop,nop,TS val 4294956938 e

cr 1011710475], length 340

....<Mz.GET /jaya/plus/index.m3u8 HTTP/1.1

User-Agent: AppleCoreMedia/1.0.0.9A405 (iPad; U; CPU OS 5_0_1 like Mac

OS X; zh_cn)

Accept: */*

Range: bytes=0-

Connection: close

Host: airingiptvuk-a.akamaihd.net

Cookie:

hdntl=exp=1436462348~acl=%2fjaya%2fplus%2f*~data=hdntl~hmac=678629901ffc70f8ce9d51def0b496e9f5110d9f23b424ee5492ef20d1789721

 

So my question is - does Akamai platform supports Akamai Token Authentication for live streams? If it does, what is the correct way to access stream's playlist without hdnts token?

Outcomes