CloudFrontSignedURLGenerator.properties

The full path of this file is:

/etc/escenic/engine/webapp/pub-name/com/escenic/video/presentation/CloudFrontSignedURLGenerator.properties

where pub-name is the name of the publication.

You only need to edit this file if you are using CloudFront to distribute your transcoded media content. If you are not using CloudFront, then you should edit S3PreSignedURLGenerator.properties instead (see S3PreSignedURLGenerator.properties).

httprotocol

The protocol you want to be used to access your distributed media files. For example:

protocol=http

The allowed values are:

  • http

  • https

  • rtmp (for Flash streaming)

distributionDomain

The domain name at which the media files are to be published. CloudFront generates a domain name when you create a distribution, consisting of a long id followed by ".cloudfront.net". You can, however, configure CloudFront to use a domain name of your own, such as:

distributionDomain=media.mycompany.com

For more information about CloudFront distribution domain names and how to replace them with your own, see Getting Started with CloudFront.

privateKeyFile

The path of a file containing a CloudFront private key. For example:

privateKeyFile=/etc/escenic/engine/webapp/demo/com/escenic/video/presentation/cloudfront-pk.der

CloudFront generates public/private key pairs that you can use to provide access to restricted content (paid content, for example). The keys are used to create signed URLs: automatically generated URLs that allow a customer access to restricted content for a limited period. For more information about this, see Serving Private Content through CloudFront.

A private key should under no circumstances be shared with any third party, including Escenic and Amazon.

keyPairId

The ID of the CloudFront public/private key used to secure your CloudFront content. This is supplied to you along with the private key at the time it is generated.

keyPairId=key-pair-id
expiredTime

The lifetime of the pre-signed URLs generated by CloudFront, specified in minutes. Once this period is over, a pre-signed URL will no longer work and the user will no longer have access to the restricted content. The default value is 900 (= 15 hours).

expiredTime=900