Add [ALTBalaji] support
BenQ21 opened this issue · 6 comments
Need help to get widevine keys from ALTBalaji (https://www.altbalaji.com/)
i got mpd link https://cdn.cloud.altbalaji.com/content/2018-08/4917-5b6a1a6295118/manifest.mpd
license POST request https://api.cloud.altbalaji.com/player/drm/widevine-modular
1st POST request
URL
https://api.cloud.altbalaji.com/player/drm/widevine-modular
Payload
data = {
'{"payload":"CAQ': '","content_id":"undefined","ticket":"31c684e7-4b38-4cc5-a68d-f578a357eaa4"}'
}
Response
{
"status":"OK",
"license":"CAUSxwUKwQIIAxIQFwW5F8wSBIaLBjM6L3cqjBiCtIKSBSKOAjCCAQoCggEBAJntWzsyfateJO/DtiqVtZhSCtW8yzdQPgZFuBTYdrjfQFEEQa2M462xG7iMTnJaXkqeB5UpHVhYQCOn4a8OOKkSeTkwCGELbxWMh4x+Ib/7/up34QGeHleB6KRfRiY9FOYOgFioYHrc4E+shFexN6jWfM3rM3BdmDoh+07svUoQykdJDKR+ql1DghjduvHK3jOS8T1v+2RC/THhv0CwxgTRxLpMlSCkv5fuvWCSmvzu9Vu69WTi0Ods18Vcc6CCuZYSC4NZ7c4kcHCCaA1vZ8bYLErF8xNEkKdO7DevSy8BDFnoKEPiWC8La59dsPxebt9k+9MItHEbzxJQAZyfWgkCAwEAAToUbGljZW5zZS53aWRldmluZS5jb20SgAOuNHMUtag1KX8nE4j7e7jLUnfSSYI83dHaMLkzOVEes8y96gS5RLknwSE0bv296snUE5F+bsF2oQQ4RgpQO8GVK5uk5M4PxL/CCpgIqq9L/NGcHc/N9XTMrCjRtBBBbPneiAQwHL2zNMr80NQJeEI6ZC5UYT3wr8+WykqSSdhV5Cs6cD7xdn9qm9Nta/gr52u/DLpP3lnSq8x2/rZCR7hcQx+8pSJmthn8NpeVQ/ypy727+voOGlXnVaPHvOZV+WRvWCq5z3CqCLl5+Gf2Ogsrf9s2LFvE7NVV2FvKqcWTw4PIV9Sdqrd+QLeFHd/SSZiAjjWyWOddeOrAyhb3BHMEwg2T7eTo/xxvF+YkPj89qPwXCYcOxF+6gjomPwzvofcJOxkJkoMmMzcFBDopvab5tDQsyN9UPLGhGC98X/8z8QSQ+spbJTYLdgFenFoGq47gLwDS6NWYYQSqzE3Udf2W7pzk4ybyG4PHBYV3s4cyzdq8amvtE/sNSdOKReuHpfQ=",
"supported_tracks":[
],
"internal_status":139,
"message_type":"SERVICE_CERTIFICATE",
"client_info":[
],
"content_owner":"xstreamalt",
"content_provider":"xstreamalt",
"service_version_info":{
"license_sdk_version":"16.5.0 Built on Dec 15 2021 10:27:17 (1639592815)",
"license_service_version":"widevine_license_wls_20211215_101655-RC00"
}
}
2nd POST request
URL
https://api.cloud.altbalaji.com/player/drm/widevine-modular
Payload
data = {
'{"payload":"CAESxR8SMAouChgiEOMNs0r6wTL8YnoyR2bfrERI49yVmwYQARoQFNg6PREpog7mIaOUhkGJPxgBINatr5AGMBU4 8nkhgJCgB8KFGxpY2Vuc2Uud2lkZXZpbmUuY29tEhAXBbkXzBIEhosGMzovdyqMGsAclfXOBvf/DiRGtvyuOSlbcnHlyzaqSOv3D83Wr1fygWvMhH2v6FiZ1C00p0PkUwSuyP8RkVXdosI232Z67P8osjsR3L2ZTf8cYlOjLlC47dV7JnVhDAfFePXEgO7HLvU3URy5wvhBliZvhrq7LtWSI7PZXHZXzIcfCP79rcdmeOcMSsAJy1PgvdblTbt3TLiQUnFHAg/skMzE1n06Z1GpxTnNNMgf0RqrSMt80PdaFuTHwkyr/94e5MJLyHJ26GdZaA8As9svJEMkwP9bP52bMJ5SKfG33VouL2Bzb7xeFXbz46oI FeHtnlUYIVW NaVBgDr4Iff2tEO1rEHW7DTIbiphxWmGOE1yKIhUxjpIgPgZ8o4ynM9F0JdIj6s8Z/cw5ORt77YVz4Oimd5YSNO81Z2fJzXFTbrjXhJHaQ11r4czJVlMBqp4j HLhdj7qCFDM8pJPubN bKRVbpFiDWFkSu78oeq1lc0W1MMnTeFU7 t646P6Jxy1Ygs 4K R73qCpVFsjjYxIOq7RkwI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Tt2FgS45Ux6Q3NgzM DOJgsypdmJ7739FbkREc/r eiB3z6sQuES 8yjHfcsGyI6Jb//Cznib4978Jfkf6KmfB7y2jD7IHW1lO82z63vOc6bRgr/eYm/p 4G7vWAdvkCS9k1SinQSP0isnp6tL8892Zs0lenx5622snXDXX1zpXlDsqEckOkUaEArw09vOjbgWsfUcOyHCj7K4AWKv5mq atDJlQiiFdZ jN7GY0MjJLWQKhpVVK8A8NHsxIhOsy7nBXMtp4ddCDHkkoZmkMvzcCvf0K/1UZ96vtQ29Rbpnj56LhMECGfofvpeONI 8aAKVg9V7gyr3S2gRORqAAUQgYc9znYwIcVcFYPcG4Yd1bRu3h jOHuQVoibD90sqIPm3ZSGsdhb5J/pbmBjVJdfPoLEJR4tSB8/2WS/adCayriqNP/jLATvw72We5GXaITdlr zvXe4BmhMdLdZSxkiDNlWng XqHZ67RAadax9S5TrD1UNoKYaCJmceumLNShQAAAABAAAAFAAFABAg2ST7ELzhRA': '=","content_id":"undefined","ticket":"31c684e7-4b38-4cc5-a68d-f578a357eaa4"}'
}
Response
{"status":"OK","status_message":"","license":"CAIS7wMKNAoQFNg6PREpog7mIaOUhkGJPxIQFNg6PREpog7mIaOUhkGJPxoAIAEoADgAQABI1q2vkAYSEggBGAAgACgAMAA4AEIASABQChpmEhCU8108ra2mrK8r7bCs4uQzGlCjQGl4fVgu++p5Q0nYDGLd8ruRq93+5WigWqwsfTeo3SkW9RBBAZLkjNYwH5jdFfyMWB9HMBS3MqvGUWCX/TUMdeCCHHWyxqzJv0f4mLJHyiABGmIKEPXsAboYoVdtuo6c5fWhcv8SED2Vt9KlYhLGXJM+Cgx3qB4aIEe1LY0YKeQqBsBXRgfYw7gCkJFAQBKzZ6UiBB0aPr+CIAIoAUISChBrYzE2AAAAACDZJPuAAAAIYgJIRBpiChDQq53XBy1UboRTpBXpZZycEhCDgxKpjrv/np+s1oo8eEWuGiA3jCcGh5xIHRFcuaehErphcYKUluv3F3MEgtUNbKexxSACKAFCEgoQa2MxNgAAAAAg2ST7gAAACGICU0QaZQoQ87eZY1G+WZOR4cqRH/optxIQkMb+XSwJvawiM2GU9Qhs5RogyyY1d9rQUG7p3vBPh92zwr9fhkn8VgzZZcdH4of5vrYgAigBQhIKEGtjMTYAAAAAINkk+4AAAAhiBUFVRElPINatr5AGOOPclZsGUAUaIKUiWhrQgph4C2NONwTUCTr+WaDYBt7OeMBUHfmArmQkIoABZnGiaMkokkfbhGdcvIUccnt2uYIo+bo87OYh7pwVzxPKtA19aCXiSvwZeOvvsZgNjQwMgc1izWDrTMUTr7tWgXO9Ej9Ay62tcWV864nO8tEuYoxePh46zZ/Bzh7RxFHqfvWjRjJDOlLaegjER3ZK9P5OtdoCIFQWdmY2p/BqVYo6MwoxMTYuNS4wIEJ1aWx0IG9uIERlYyAxNSAyMDIxIDEwOjI3OjE3ICgxNjM5NTkyODE1KUABSoACAAAAAgAAAQAABQAQINkk+xC84UQAAABOAAAAEAAAAGAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAC2AAAAEAAAAMgAAAAQAAAA2gAAABAAAAAAAAAAAAAAAQIAAAAQAAABGgAAABAAAAEsAAAAEAAAAT4AAAAQAAAAAAAAAAAAAAECAAAAEAAAAX4AAAAQAAABkAAAABAAAAGiAAAAEAAAAAAAAAAAAAABAgAAABC769AMEIpvkvCKd8HdUm304BQLcRdEBPfpZqdIwRYdTVgB","license_metadata":{"content_id":"4w2zSvrBMvxiejJHZt+sRA==","license_type":"STREAMING","request_type":"NEW"},"supported_tracks":[{"type":"HD","key_id":"9ewBuhihV226jpzl9aFy/w=="},{"type":"SD","key_id":"0Kud1wctVG6EU6QV6WWcnA=="},{"type":"AUDIO","key_id":"87eZY1G+WZOR4cqRH/optw=="}],"make":"Google","model":"ChromeCDM-Win-x64-7","security_level":3,"internal_status":0,"session_state":{"license_id":{"request_id":"FNg6PREpog7mIaOUhkGJPw==","session_id":"FNg6PREpog7mIaOUhkGJPw==","purchase_id":"","type":"STREAMING","version":0,"original_rental_duration_seconds":0,"original_playback_duration_seconds":0,"original_start_time_seconds":1644943062},"signing_key":"q5ScUkom0lf6Cj5ZgR9PPkCuPKH1ib8o71/N+CiDF1KW066o84XZS/wSgAnXvwkDayEy4c79oSRlPKMYntU22A==","keybox_system_id":21889,"license_counter":0},"drm_cert_serial_number":"NDY4NWI0OTk3YjI3MmNjNmFkNDUyMGZjYmZiMDNjMGE=","device_whitelist_state":"DEVICE_NOT_WHITELISTED","message_type":"LICENSE","platform":"windows","device_state":"RELEASED","pssh_data":{"key_id":[],"content_id":"4w2zSvrBMvxiejJHZt+sRA=="},"client_max_hdcp_version":"HDCP_V1","client_info":[{"name":"architecture_name","value":"x86-64"},{"name":"company_name","value":"Google"},{"name":"model_name","value":"ChromeCDM"},{"name":"platform_name","value":"Windows"},{"name":"widevine_cdm_version","value":"4.10.2391.0"}],"platform_verification_status":"PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED","content_owner":"xstreamalt","content_provider":"xstreamalt","system_id":21889,"oem_crypto_api_version":16,"resource_rating_tier":0,"service_version_info":{"license_sdk_version":"16.5.0 Built on Dec 15 2021 10:27:17 (1639592815)","license_service_version":"widevine_license_wls_20211215_101655-RC00"},"soc":"x64","client_capabilities":{"session_token":true,"video_resolution_constraints":true,"supported_key_type":[]}}
I don't know how to get Widevine keys from this...
Does anyone know how to get keys from ALTBalagi please tell me....
Thanks
PSSH = AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgiEOMNs0r6wTL8YnoyR2bfrERI49yVmwY=
i'm using non-leaked cdm (i dumped from my android device)
mpd : https://cdn.cloud.altbalaji.com/content/2018-08/4917-5b6a1a6295118/manifest.mpd
pssh : AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgiEOMNs0r6wTL8YnoyR2bfrERI49yVmwY=
license url : https://api.cloud.altbalaji.com/player/drm/widevine-modular
1st post request
curl
curl 'https://api.cloud.altbalaji.com/player/drm/widevine-modular' \
-H 'Connection: keep-alive' \
-H 'sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="98", "Google Chrome";v="98"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36' \
-H 'sec-ch-ua-platform: "Windows"' \
-H 'Accept: */*' \
-H 'Origin: https://www.altbalaji.com' \
-H 'Sec-Fetch-Site: same-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: https://www.altbalaji.com/' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
--data-raw '{"payload":"CAQ=","content_id":"undefined","ticket":"c4aeb6bb-0f56-40e2-a266-d2cb936d5de8"}' \
--compressed
response data
{
"status":"OK",
"license":"CAUSxwUKwQIIAxIQFwW5F8wSBIaLBjM6L3cqjBiCtIKSBSKOAjCCAQoCggEBAJntWzsyfateJO/DtiqVtZhSCtW8yzdQPgZFuBTYdrjfQFEEQa2M462xG7iMTnJaXkqeB5UpHVhYQCOn4a8OOKkSeTkwCGELbxWMh4x+Ib/7/up34QGeHleB6KRfRiY9FOYOgFioYHrc4E+shFexN6jWfM3rM3BdmDoh+07svUoQykdJDKR+ql1DghjduvHK3jOS8T1v+2RC/THhv0CwxgTRxLpMlSCkv5fuvWCSmvzu9Vu69WTi0Ods18Vcc6CCuZYSC4NZ7c4kcHCCaA1vZ8bYLErF8xNEkKdO7DevSy8BDFnoKEPiWC8La59dsPxebt9k+9MItHEbzxJQAZyfWgkCAwEAAToUbGljZW5zZS53aWRldmluZS5jb20SgAOuNHMUtag1KX8nE4j7e7jLUnfSSYI83dHaMLkzOVEes8y96gS5RLknwSE0bv296snUE5F+bsF2oQQ4RgpQO8GVK5uk5M4PxL/CCpgIqq9L/NGcHc/N9XTMrCjRtBBBbPneiAQwHL2zNMr80NQJeEI6ZC5UYT3wr8+WykqSSdhV5Cs6cD7xdn9qm9Nta/gr52u/DLpP3lnSq8x2/rZCR7hcQx+8pSJmthn8NpeVQ/ypy727+voOGlXnVaPHvOZV+WRvWCq5z3CqCLl5+Gf2Ogsrf9s2LFvE7NVV2FvKqcWTw4PIV9Sdqrd+QLeFHd/SSZiAjjWyWOddeOrAyhb3BHMEwg2T7eTo/xxvF+YkPj89qPwXCYcOxF+6gjomPwzvofcJOxkJkoMmMzcFBDopvab5tDQsyN9UPLGhGC98X/8z8QSQ+spbJTYLdgFenFoGq47gLwDS6NWYYQSqzE3Udf2W7pzk4ybyG4PHBYV3s4cyzdq8amvtE/sNSdOKReuHpfQ=",
"supported_tracks":[
],
"internal_status":139,
"message_type":"SERVICE_CERTIFICATE",
"client_info":[
],
"content_owner":"xstreamalt",
"content_provider":"xstreamalt",
"service_version_info":{
"license_sdk_version":"16.5.0 Built on Dec 15 2021 10:27:17 (1639592815)",
"license_service_version":"widevine_license_wls_20211215_101655-RC00"
}
}
2nd post request
curl
curl 'https://api.cloud.altbalaji.com/player/drm/widevine-modular' \
-H 'Connection: keep-alive' \
-H 'sec-ch-ua: "(Not(A:Brand";v="8", "Chromium";v="98", "Google Chrome";v="98"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36' \
-H 'sec-ch-ua-platform: "Windows"' \
-H 'Accept: */*' \
-H 'Origin: https://www.altbalaji.com' \
-H 'Sec-Fetch-Site: same-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: https://www.altbalaji.com/' \
-H 'Accept-Language: en-GB,en-US;q=0.9,en;q=0.8' \
--data-raw '{"payload":"CAESxR8SMAouChgiEOMNs0r6wTL8YnoyR2bfrERI49yVmwYQARoQBq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ZShYYFp0cZudIaF8GM6BlkXwn9/XuYnYo+4fcEjPD+bemNn+f5PEz2sb5dPnDZR3mKHC4XNBMMindad1VUxISCShVSYLw1x1qLzHhxc6NHxjJv5ShQAAAABAAAAFAAFABAoqT/xq+axLQ==","content_id":"undefined","ticket":"c4aeb6bb-0f56-40e2-a266-d2cb936d5de8"}' \
--compressed
response data
{
"status":"OK",
"status_message":"",
"license":"CAIS7wMKNAoQBqNUbzqMLWtj9J7KDyyxRhIQBqNUbzqMLWtj9J7KDyyxRhoAIAEoADgAQABIwJvCkAYSEggBGAAgACgAMAA4AEIASABQChpmEhA3Wxjm7gTz9iiBKH5urQ6wGlCIKxiwasr0FQtQ+nQVwB8TlMalzM89aqGzddW7gwa+rsyx9ymjZMBXobylkNPbNM3ahXL7P0JjaVbpPsx856FXDsMYNeIaulNI6y+GLvqj4iABGmIKEPXsAboYoVdtuo6c5fWhcv8SEO1ZQ4gpU4dvXFjc8EPPv0UaIEEUkoJHBzn9oHPznEPvWCgob5kXZkkx5dFA4IX1YEgzIAIoAUISChBrYzE2AAAAACipP/GAAAAIYgJIRBpiChDQq53XBy1UboRTpBXpZZycEhDbpaJ4byntK6R9MwFn9yCjGiARuw9Rk0eJJsX5XA/KjbGUJVR/g+vHvOpWUStPKjU4hSACKAFCEgoQa2MxNgAAAAAoqT/xgAAACGICU0QaZQoQ87eZY1G+WZOR4cqRH/optxIQzB7HYu56K5hvWtSv1EIgXRogHwfzwa3NhOOA6C2mxM/3Hg37ircDzMcyOx7tfi5DDCEgAigBQhIKEGtjMTYAAAAAKKk/8YAAAAhiBUFVRElPIMCbwpAGOOPclZsGUAUaIBfxXOWaqlP3vHQykjyVawKav2oixhuUypIagMwt/1vHIoABNwyRCW/eZpsuwhrSFEVbzSAgLbr6U9x6I1y1XXbnfX/JhwZDuy1I+OU+zjnmvF6NGfJ/2O4H8JFleoyveiH3Zgm0bR4eJb5NlKOa5sEdczrZLRT6KtqTrzjcsDrJfm7r31JjxVGumomffg3DDHwJvmqVuKKVh4f8V0hTrrbMfWM6MwoxMTYuNS4wIEJ1aWx0IG9uIERlYyAxNSAyMDIxIDEwOjI3OjE3ICgxNjM5NTkyODE1KUABSoACAAAAAgAAAQAABQAQKKk/8avmsS0AAABOAAAAEAAAAGAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAC2AAAAEAAAAMgAAAAQAAAA2gAAABAAAAAAAAAAAAAAAQIAAAAQAAABGgAAABAAAAEsAAAAEAAAAT4AAAAQAAAAAAAAAAAAAAECAAAAEAAAAX4AAAAQAAABkAAAABAAAAGiAAAAEAAAAAAAAAAAAAABAgAAABDSeKsGY9TJFotEnyQzLuvtnsra9CteF4LniJXQT3LTdFgB",
"license_metadata":{
"content_id":"4w2zSvrBMvxiejJHZt+sRA==",
"license_type":"STREAMING",
"request_type":"NEW"
},
"supported_tracks":[
{
"type":"HD",
"key_id":"9ewBuhihV226jpzl9aFy/w=="
},
{
"type":"SD",
"key_id":"0Kud1wctVG6EU6QV6WWcnA=="
},
{
"type":"AUDIO",
"key_id":"87eZY1G+WZOR4cqRH/optw=="
}
],
"make":"Google",
"model":"ChromeCDM-Win-x64-7",
"security_level":3,
"internal_status":0,
"session_state":{
"license_id":{
"request_id":"BqNUbzqMLWtj9J7KDyyxRg==",
"session_id":"BqNUbzqMLWtj9J7KDyyxRg==",
"purchase_id":"",
"type":"STREAMING",
"version":0,
"original_rental_duration_seconds":0,
"original_playback_duration_seconds":0,
"original_start_time_seconds":1645252032
},
"signing_key":"huPxv0AnNyBi4Kv3LXIJA9MVXSFexpk+12uBA1fQ0EjqwPCrMt+2h11hohLhD0Oysg0KWa6PMgxfSKrAgvBBLQ==",
"keybox_system_id":21889,
"license_counter":0
},
"drm_cert_serial_number":"NDY4NWI0OTk3YjI3MmNjNmFkNDUyMGZjYmZiMDNjMGE=",
"device_whitelist_state":"DEVICE_NOT_WHITELISTED",
"message_type":"LICENSE",
"platform":"windows",
"device_state":"RELEASED",
"pssh_data":{
"key_id":[
],
"content_id":"4w2zSvrBMvxiejJHZt+sRA=="
},
"client_max_hdcp_version":"HDCP_V1",
"client_info":[
{
"name":"architecture_name",
"value":"x86-64"
},
{
"name":"company_name",
"value":"Google"
},
{
"name":"model_name",
"value":"ChromeCDM"
},
{
"name":"platform_name",
"value":"Windows"
},
{
"name":"widevine_cdm_version",
"value":"4.10.2391.0"
}
],
"platform_verification_status":"PLATFORM_SECURE_STORAGE_SOFTWARE_VERIFIED",
"content_owner":"xstreamalt",
"content_provider":"xstreamalt",
"system_id":21889,
"oem_crypto_api_version":16,
"resource_rating_tier":0,
"service_version_info":{
"license_sdk_version":"16.5.0 Built on Dec 15 2021 10:27:17 (1639592815)",
"license_service_version":"widevine_license_wls_20211215_101655-RC00"
},
"soc":"x64",
"client_capabilities":{
"session_token":true,
"video_resolution_constraints":true,
"supported_key_type":[
]
}
}
need help how to get keys from this..
Hi, @BenQ21
I'm facing the same issue. Did you solve it? and how?
@medvm I texted you in Telegram, could you please help us? I have also the same issue like this guy
Don's see the problem here. Decode "license" from the response as base64.
Don's see the problem here. Decode "license" from the response as base64.
Hi,
Let's take a look at this response, license already is base64:
{
"status":"OK",
"license":"CAUSxwUKwQIIAxIQFwW5F8wSBIaLBjM6L3cqjBiCtIKSBSKOAjCCAQoCggEBAJntWzsyfateJO/DtiqVtZhSCtW8yzdQPgZFuBTYdrjfQFEEQa2M462xG7iMTnJaXkqeB5UpHVhYQCOn4a8OOKkSeTkwCGELbxWMh4x+Ib/7/up34QGeHleB6KRfRiY9FOYOgFioYHrc4E+shFexN6jWfM3rM3BdmDoh+07svUoQykdJDKR+ql1DghjduvHK3jOS8T1v+2RC/THhv0CwxgTRxLpMlSCkv5fuvWCSmvzu9Vu69WTi0Ods18Vcc6CCuZYSC4NZ7c4kcHCCaA1vZ8bYLErF8xNEkKdO7DevSy8BDFnoKEPiWC8La59dsPxebt9k+9MItHEbzxJQAZyfWgkCAwEAAToUbGljZW5zZS53aWRldmluZS5jb20SgAOuNHMUtag1KX8nE4j7e7jLUnfSSYI83dHaMLkzOVEes8y96gS5RLknwSE0bv296snUE5F+bsF2oQQ4RgpQO8GVK5uk5M4PxL/CCpgIqq9L/NGcHc/N9XTMrCjRtBBBbPneiAQwHL2zNMr80NQJeEI6ZC5UYT3wr8+WykqSSdhV5Cs6cD7xdn9qm9Nta/gr52u/DLpP3lnSq8x2/rZCR7hcQx+8pSJmthn8NpeVQ/ypy727+voOGlXnVaPHvOZV+WRvWCq5z3CqCLl5+Gf2Ogsrf9s2LFvE7NVV2FvKqcWTw4PIV9Sdqrd+QLeFHd/SSZiAjjWyWOddeOrAyhb3BHMEwg2T7eTo/xxvF+YkPj89qPwXCYcOxF+6gjomPwzvofcJOxkJkoMmMzcFBDopvab5tDQsyN9UPLGhGC98X/8z8QSQ+spbJTYLdgFenFoGq47gLwDS6NWYYQSqzE3Udf2W7pzk4ybyG4PHBYV3s4cyzdq8amvtE/sNSdOKReuHpfQ=",
"supported_tracks":[
],
"internal_status":139,
"message_type":"SERVICE_CERTIFICATE",
"client_info":[
],
"content_owner":"xstreamalt",
"content_provider":"xstreamalt",
"service_version_info":{
"license_sdk_version":"16.5.0 Built on Dec 15 2021 10:27:17 (1639592815)",
"license_service_version":"widevine_license_wls_20211215_101655-RC00"
}
}