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: > 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/ (iPad; U; CPU OS 5_0_1 like Mac

OS X; zh_cn)

Accept: */*

Range: bytes=0-

Connection: close





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?