{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1742","repository_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1742/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1742/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1742/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1742","id":200655239,"number":1742,"title":"Q: How does dash.js handle HDCP capabilities? ","user":{"login":"pjdicke","id":1786442,"avatar_url":"https://avatars0.githubusercontent.com/u/1786442?v=4","gravatar_id":"","url":"https://api.github.com/users/pjdicke","html_url":"https://github.com/pjdicke","followers_url":"https://api.github.com/users/pjdicke/followers","following_url":"https://api.github.com/users/pjdicke/following{/other_user}","gists_url":"https://api.github.com/users/pjdicke/gists{/gist_id}","starred_url":"https://api.github.com/users/pjdicke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjdicke/subscriptions","organizations_url":"https://api.github.com/users/pjdicke/orgs","repos_url":"https://api.github.com/users/pjdicke/repos","events_url":"https://api.github.com/users/pjdicke/events{/privacy}","received_events_url":"https://api.github.com/users/pjdicke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-01-13T15:20:25Z","updated_at":"2018-05-24T04:30:32Z","closed_at":"2017-01-24T20:10:01Z","author_association":"NONE","body":"Hi all, I have been digging into how to handle HDCP detection and apparently you are not suppose to attempt to detected HDCP capabilities (or can’t currently or others methods aren't pretty) but have multiple stream keys and skip the keys that have `output-restricted` status instead. Since I’m using dashjs I need to know if that is supported out of the box? I didn’t see anything that was checking for `output-restricted` key statuses.\r\n\r\nThe Shaka player has logic for this scenario: https://github.com/google/shaka-player/blob/e95d7b9de4d2753b41e230b1c5a763a71806e3c6/test/player_unit.js#L1256\r\n\r\nI also stumbled across hasplayer.js which is also doing something with `output-restricted` and maybe using some version of dash.js and has extended it that version. I haven't dug in too deep there.\r\nhttps://github.com/Orange-OpenSource/hasplayer.js/blob/3a8c63215d7ab9014d41f8d05357da421ba49574/app/js/streaming/protection/ProtectionModel_21Jan2015.js#L198\r\n\r\nWhich looks a little different than: http://vm2.dashif.org/dash.js/docs/jsdocs/ProtectionModel_21Jan2015.js.html\r\n"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/391584652","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1742#issuecomment-391584652","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1742","id":391584652,"user":{"login":"subhranshudas","id":6158624,"avatar_url":"https://avatars1.githubusercontent.com/u/6158624?v=4","gravatar_id":"","url":"https://api.github.com/users/subhranshudas","html_url":"https://github.com/subhranshudas","followers_url":"https://api.github.com/users/subhranshudas/followers","following_url":"https://api.github.com/users/subhranshudas/following{/other_user}","gists_url":"https://api.github.com/users/subhranshudas/gists{/gist_id}","starred_url":"https://api.github.com/users/subhranshudas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subhranshudas/subscriptions","organizations_url":"https://api.github.com/users/subhranshudas/orgs","repos_url":"https://api.github.com/users/subhranshudas/repos","events_url":"https://api.github.com/users/subhranshudas/events{/privacy}","received_events_url":"https://api.github.com/users/subhranshudas/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T04:30:32Z","updated_at":"2018-05-24T04:30:32Z","author_association":"NONE","body":"@ticklemycode so you have a solution on top of dash.js?? \r\nA PR for dash.js ?? or something else..."}}
{"actor":{"display_login":"subhranshudas"}}