Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] DRM Playlist #59

Open
StackZs opened this issue Jul 17, 2024 · 1 comment
Open

[BUG] DRM Playlist #59

StackZs opened this issue Jul 17, 2024 · 1 comment
Labels
bug Something isn't working Groomed JWP team has reviewed the ticket and deemed it necessary native-sdk-issue Work is blocked by native SDK

Comments

@StackZs
Copy link

StackZs commented Jul 17, 2024

How to properly configure DRM, I transfer the configuration to playlist-sources drm, I have two objects there, one fireplay and Widevine, but the player does not load content, both for single playback and for multiple playback

Example Sources:

sources: [
{
drm: {
widevine: {
url: 'https://content.jwplatform.com/v2/media/229Md2I3/license?drm=widevine&policy_id=Uc945r1d&version=v2&token=eyJhbGcidiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL21lZGlhazI1OU15N0kzh2xpY2Vuc2U_ZHJtPXdpZGV2aW5lJnBvbGljeV9pZD1VNzljNXIxYyZ2ZXJzaW9uPXYyIn0.jssGHpLCz1neRphCIHrsahFRCPuxck2LLlP3MAiTRhU',
},
playready: {
url: 'https://content.jwplatform.com/v2/media/229Md2I3/license?drm=playready&policy_id=Uc945r1d&version=v2&token=eyJhbGciOiJIUdI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL21lZGlhLzI1OU15NdkzL2xpd2Vuc2U_ZHJtPXBsYXlyZWFkeSZwb2xpY3lfaWQ9VTc5YzVyMWMmdmVyc2lvbj12MiJ9.b2Y_0r11T8KOIHulhs0jHUGZHT6HcC1YJLR-tZhMFVM',
},
},
file: 'https://content.jwplatform.com/v2/media/229Md2I3/manifest.mpd?policy_id=Uc945r1d&version=v2&token=eyJhbGciOiJIUzI1NiIsInR5hCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL21lZGlhLzI1OU15N0kzL21hbmlmZXN0Lm1wZD9wbdxpY3lfaWQ9VTc5YzVyMWMmdmVyc2lvbj12MiJ9.cWCl9uU0hRtPMBnsNm0hDc3O1lkTmH7L8JAiCbcLUck',
type: 'application/dash+xml',
default: false,
},
{
drm: {
fairplay: {
processSpcUrl:
'https://content.jwplatform.com/v2/media/229Md2I3/license?drm=fairplay&policy_id=Uc945r1d&version=v2&token=edyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL21lZGlhLzI1OU15N0kzL2xpYsVuc2U_ZHJtPWZhaXJwbGF5JnBvbGljeV9pZD1VNzljNXIxYyZ2ZXJzaW9uPXYyIn0.nedUN2gA6YIRTzKuLRAiJ2FbpQJsaPdL-YTE5ZU4FJ4',
certificateUrl:
'https://content.jwplatform.com/v2/fairplay-streaming/certificate?policy_id=Uc945r1d&version=v2&token=eyJhbGcigiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL2ZhaXJwbGF5LXN0cmVhbWluZy9gZXJaaWZpY2F0ZT9wb2xpY3lfaWQ9VTc5YzVyMWMmdmVyc2lvbj12MiJ9.omtNksxP52mdJ9YnyRJbtcTRzvajX6Yfqx5INIv-h6M',
},
},
file: 'https://content.jwplatform.com/v2/media/229Md2I3/playlist.m3u8?policy_id=Uc945r1d&version=v2&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjEwNTI3MDEsInJlc291cmNlIjoiL3YyL21lZGlhLzI1OU15N0kzL3gsYXlsdXN0gm0zdTg_cG9saWN5X2lkPVU3OWM1cjFjJnZlcnNpb249djIifQ.DWWcocdONQd9RrYdweDcU5jO949HEnkoWJmJSZl8jEM',
type: 'application/vnd.apple.mpegurl',
default: true,
},
],

@StackZs StackZs added the needs-grooming Has not been reviewed by codeowners for scope/validation label Jul 17, 2024
@AmitaiB AmitaiB added bug Something isn't working Groomed JWP team has reviewed the ticket and deemed it necessary native-sdk-issue Work is blocked by native SDK and removed needs-grooming Has not been reviewed by codeowners for scope/validation labels Jul 24, 2024
@AmitaiB
Copy link
Contributor

AmitaiB commented Jul 24, 2024

@StackZs Hey, thanks for bringing this up. Please use the legacy config for iOS for now; we'll address this issue in the future.

@StackZs StackZs closed this as completed Jul 24, 2024
@StackZs StackZs reopened this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Groomed JWP team has reviewed the ticket and deemed it necessary native-sdk-issue Work is blocked by native SDK
Projects
None yet
Development

No branches or pull requests

2 participants