Question/Issue
I want to play watermarked content through CloudFront integration. I want to know the cause of an error when accessing the session URL created through the session manager API.
Brief Description
PallyCon Forensic Watermarking integration through Amazon CloudFront CDN uses the Embedder module for CloudFront provided by PallyCon. You need to follow the sample code and guide to create a Lambda@Edge function in the AWS console and perform the related setup.
Resolution
Download Lambda Embedder for CloudFront from the Forensic Watermarking 'Download Sample' page on the PallyCon Docs site.
Apply the required Lambda role according to the guide linked below, register the downloaded Lambda source zip file, modify the related variable values, and apply the Lambda function to CloudFront.
If the session URL for CloudFront created with the Session Manager API does not play, check the following.
- Content path in S3 storage: The information such as the content path and domain entered in the session API request data must match the actual content path uploaded to S3.
- aesKey (site key) value: You must enter the 'site key' value shown on PallyCon Console in the 'aesKey' part of the source of the Lambda function.
- availableInterval value: This value is used to check the validity period of timestamp information included in the session URL. Session URLs older than the availableInterval value (in minutes) have expired and are not playable. (If set to 0, the validity period is not checked)
- Lambda function version: If you update the source of your Lambda function and publish it as a new version, you must apply the same version of the Lambda@Edge function to the linked CloudFront as well.