{"action":"opened","issue":{"url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/81","labels_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/81/comments","events_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/81/events","html_url":"https://github.com/Orange-OpenSource/hasplayer.js/issues/81","id":130489230,"number":81,"title":"change SessionType value in KeySystem","user":{"login":"inbre001","id":8886193,"avatar_url":"https://avatars.githubusercontent.com/u/8886193?v=3","gravatar_id":"","url":"https://api.github.com/users/inbre001","html_url":"https://github.com/inbre001","followers_url":"https://api.github.com/users/inbre001/followers","following_url":"https://api.github.com/users/inbre001/following{/other_user}","gists_url":"https://api.github.com/users/inbre001/gists{/gist_id}","starred_url":"https://api.github.com/users/inbre001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/inbre001/subscriptions","organizations_url":"https://api.github.com/users/inbre001/orgs","repos_url":"https://api.github.com/users/inbre001/repos","events_url":"https://api.github.com/users/inbre001/events{/privacy}","received_events_url":"https://api.github.com/users/inbre001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-01T21:26:18Z","updated_at":"2016-02-01T21:26:18Z","closed_at":null,"body":"The Implementation i am currently working on requires the SessionType passed onto the DRM to be changed from temporary to required. \r\n\r\nIs there a way to change the value?\r\n\r\nIf not i would like to propose to add a sessionType option  to the protectionData Object that can overwrite the sessionType value in the KeySystem_Widevine.js.\r\n\r\nLike this: \r\n```javascript\r\nvar cpData = {\r\n'widevine.alpha.com': {\r\n  LAURL = 'http://.....',\r\n  sessionType : 'required'\r\n},\r\n...\r\n}\r\n```\r\n"}}