i am developing an android application that contains a videoview that plays hls streaming from akamai CDN . the thing is the streaming url has a token authentication generated using Akamai API. the problem is that my video can't play this stream.
the below format plays normally
http://xxxxxxx-i.akamaihd.net/hls/live/#####/event1/Playlistaaa_1200.m3u8
the below format does not work for android (but it works for other development environments such as samsung smart TV):
http://xxxxxxx-i.akamaihd.net/hls/live/#####/event1/Playlistaaa_1200.m3u8??hdnea=st=1364547301~exp=1364547901~acl=/*~hmac=4baa8ad07af9f31c2d898bd205986e4c470a99b7573cc93918ce9caa234a8d03
Does anyone have any idea how to enable this for android or if there is any workaroud for this?
Regards
After checking with Akamai, the issue was solved and the problem was in the "/" character in the query string. the "/" should be replaced with "%2F"
Working URL :
http://xxxxx-i.akamaihd.net/hls/live/XXXX/event1/Playlist.m3u8?hdnea=st=1382080396~exp=1382685196~acl=%2F*~hmac=71794db8368c2498fea5fb62c381ce6e51a7ff4628c1225ddfe41411596b5d6e
Accroding to akamai here are some comments:
Note that this solution also worked for :