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

fix(ios): split licenseUrl and loadedLicenseUrl #3578

Merged
merged 2 commits into from
Mar 12, 2024

Conversation

freeboub
Copy link
Collaborator

Summary

fix(ios): split licenseUrl and loadedLicenseUrl in getLicense callback

Motivation

Fix regression introduced by: https://github.com/react-native-video/react-native-video/pull/3261/files#diff-47acdf240bd5c99e4a92a2670ee3cf168a8bef94be89eb1fefbc15df20088cdd
will fix following issue: #3406

Changes

Split props in getLicense callback licenceUrl was used for multiple purpose, it was causing regressions in existing implementations
licenseUrl: comes from props
loadedLicenseUrl: comes from m3u file

Test plan

Cannot be provided as I cannot find free to used fairplay samples

licenseUrl: comes from props
loadedLicenseUrl: comes from m3u file
@freeboub freeboub merged commit 7c4d19f into master Mar 12, 2024
11 checks passed
@KrzysztofMoch KrzysztofMoch deleted the fix/clarifyDrmGetLicenseApi branch March 14, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants