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

(Done) Upgrade BasicWidevine sample to track 2 SDK. #89

Merged

Conversation

sxian0613
Copy link
Contributor

Purpose

  • Upgrade BasicWidevine sample to track 2 SDK.

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
  • Test the code
Configure appsettings.json with appropriate access values.
Open a terminal window, go to the root folder of this project, run `mvn clean compile`.
Execute `mvn exec:java`, then follow the instructions in the output console.

What to Check

Verify that the following are valid

  • Copy the link showing in the terminal window after executing mvn exec:java to the browser and check the video.

} else {
// Get the signing key from the existing policy.
ContentKeyPolicyProperties policyProperties = manager.contentKeyPolicies()
.getPolicyPropertiesWithSecretsAsync(resourceGroup, accountName, contentKeyPolicyName).toBlocking().first();
.getPolicyPropertiesWithSecrets(resourceGroup, accountName, contentKeyPolicyName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this line is returning an array? I see that previous code use .first()

@sxian0613 sxian0613 changed the title Upgrade BasicWidevine sample to track 2 SDK. (Done) Upgrade BasicWidevine sample to track 2 SDK. Mar 1, 2022
@giakas giakas merged commit 631c5f2 into Azure-Samples:main Mar 2, 2022
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.

3 participants