{"action":"closed","issue":{"url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/182","repository_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js","labels_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/182/comments","events_url":"https://api.github.com/repos/Orange-OpenSource/hasplayer.js/issues/182/events","html_url":"https://github.com/Orange-OpenSource/hasplayer.js/issues/182","id":242476574,"number":182,"title":"MEDIA_KEYMESSERR_NO_SESSION","user":{"login":"jtrujillot","id":22380364,"avatar_url":"https://avatars1.githubusercontent.com/u/22380364?v=4","gravatar_id":"","url":"https://api.github.com/users/jtrujillot","html_url":"https://github.com/jtrujillot","followers_url":"https://api.github.com/users/jtrujillot/followers","following_url":"https://api.github.com/users/jtrujillot/following{/other_user}","gists_url":"https://api.github.com/users/jtrujillot/gists{/gist_id}","starred_url":"https://api.github.com/users/jtrujillot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtrujillot/subscriptions","organizations_url":"https://api.github.com/users/jtrujillot/orgs","repos_url":"https://api.github.com/users/jtrujillot/repos","events_url":"https://api.github.com/users/jtrujillot/events{/privacy}","received_events_url":"https://api.github.com/users/jtrujillot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-07-12T18:40:53Z","updated_at":"2017-08-18T14:48:44Z","closed_at":"2017-08-18T14:48:44Z","body":"Because the following error may be returning on createKeySession function:\r\n\r\n{\"type\":\"error\",\"data\":{\"code\":\"MEDIA_KEYMESSERR_NO_SESSION\",\"message\":\"Failed to create key session\",\"data\":{\"reason\":\"Failed to generate key request\",\"error\":{\"code\":null,\"message\":\"UnknownError\",\"data\":\"Rejected with system code (2)\"}}}}\r\n\r\non line:\r\n\r\n**session.generateRequest**(\"cenc\", initData).then(function() {\r\n                self.notify(MediaPlayer.models.ProtectionModel.eventList.ENAME_KEY_SESSION_CREATED, sessionToken);\r\n            }).catch(function(ex) {\r\n                removeSession(sessionToken);\r\n                self.notify(MediaPlayer.models.ProtectionModel.eventList.ENAME_KEY_SESSION_CREATED, null, {\r\n                    reason: \"Failed to generate key request\",\r\n                    error: new MediaPlayer.vo.Error(ex.code, ex.name, ex.message)\r\n                });\r\n            });\r\n\r\n\r\nVersion Hasplayer: 1.7\r\n\r\nIn others device run 100%, but in one not work.\r\n\r\nTnks,\r\n"}}
{"actor":{"display_login":"bbert"}}