HlsContentProtection class
The HLS content protection settings, if any, that you want Elastic Transcoder to apply to your output files.
Constructors
- HlsContentProtection({String? initializationVector, String? key, String? keyMd5, String? keyStoragePolicy, String? licenseAcquisitionUrl, String? method})
-
HlsContentProtection.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializationVector → String?
-
If Elastic Transcoder is generating your key for you, you must leave this
field blank.
final
- key → String?
-
If you want Elastic Transcoder to generate a key for you, leave this field
blank.
final
- keyMd5 → String?
-
If Elastic Transcoder is generating your key for you, you must leave this
field blank.
final
- keyStoragePolicy → String?
-
Specify whether you want Elastic Transcoder to write your HLS license key to
an Amazon S3 bucket. If you choose
WithVariantPlaylists
,LicenseAcquisitionUrl
must be left blank and Elastic Transcoder writes your data key into the same bucket as the associated playlist.final - licenseAcquisitionUrl → String?
-
The location of the license key required to decrypt your HLS playlist. The
URL must be an absolute path, and is referenced in the URI attribute of the
EXT-X-KEY metadata tag in the playlist file.
final
- method → String?
-
The content protection method for your output. The only valid value is:
aes-128
.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited