{"action":"created","issue":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/625","labels_url":"https://api.github.com/repos/google/ExoPlayer/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/google/ExoPlayer/issues/625/comments","events_url":"https://api.github.com/repos/google/ExoPlayer/issues/625/events","html_url":"https://github.com/google/ExoPlayer/issues/625","id":95194090,"number":625,"title":"Akamai Auth Token based protected media playback using Exoplayer","user":{"login":"amitsamal","id":7600131,"avatar_url":"https://avatars.githubusercontent.com/u/7600131?v=3","gravatar_id":"","url":"https://api.github.com/users/amitsamal","html_url":"https://github.com/amitsamal","followers_url":"https://api.github.com/users/amitsamal/followers","following_url":"https://api.github.com/users/amitsamal/following{/other_user}","gists_url":"https://api.github.com/users/amitsamal/gists{/gist_id}","starred_url":"https://api.github.com/users/amitsamal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitsamal/subscriptions","organizations_url":"https://api.github.com/users/amitsamal/orgs","repos_url":"https://api.github.com/users/amitsamal/repos","events_url":"https://api.github.com/users/amitsamal/events{/privacy}","received_events_url":"https://api.github.com/users/amitsamal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/google/ExoPlayer/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-15T13:27:38Z","updated_at":"2015-07-17T17:53:25Z","closed_at":null,"body":"Hi Team,\r\n\r\nCurrently we are implementing Akamai token based protected media playback in our HLS streams. Does Exoplayer support this feature.\r\nOur current setup - Streaming url is fetched using the REST API ex: http://www.example.com/directory1/directory2/ media.m3u8?hdnts=st=1370627194~exp=1370627409~acl=/ *~hmac=6a10b3f602ffde88c02cd1b89665bfdfdc0fc84c3cf7049752931ad732654fab\r\n\r\nWhere the hdnts represent the token and it is shortlived token with specific expiry time. \r\nOnce the player gets the streaming url it would do the HTTP request to server. Server takes up the token and in return validates and sends back a long life token in cookie for the media segment to the player.\r\nThe player now should use the same token returned in cookie for each subsequent request for media segment for playback.\r\nCan you please help us understand if exoplayer supports this kind of authentication based protected media streaming by accepting cookies out of the box or we need to do some specific customizations in the player.\r\n\r\nRegards\r\nAmit Samal"},"comment":{"url":"https://api.github.com/repos/google/ExoPlayer/issues/comments/122355956","html_url":"https://github.com/google/ExoPlayer/issues/625#issuecomment-122355956","issue_url":"https://api.github.com/repos/google/ExoPlayer/issues/625","id":122355956,"user":{"login":"gitanuj","id":693092,"avatar_url":"https://avatars.githubusercontent.com/u/693092?v=3","gravatar_id":"","url":"https://api.github.com/users/gitanuj","html_url":"https://github.com/gitanuj","followers_url":"https://api.github.com/users/gitanuj/followers","following_url":"https://api.github.com/users/gitanuj/following{/other_user}","gists_url":"https://api.github.com/users/gitanuj/gists{/gist_id}","starred_url":"https://api.github.com/users/gitanuj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitanuj/subscriptions","organizations_url":"https://api.github.com/users/gitanuj/orgs","repos_url":"https://api.github.com/users/gitanuj/repos","events_url":"https://api.github.com/users/gitanuj/events{/privacy}","received_events_url":"https://api.github.com/users/gitanuj/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T17:53:25Z","updated_at":"2015-07-17T17:53:25Z","body":"@amitsamal I don't have any sample code for that. But the easiest solution would be to use default cookie store for everything (as suggested above)."}}