PlayReadyDrm class
The PlayReady DRM settings, if any, that you want Elastic Transcoder to apply to the output files associated with this playlist.
PlayReady DRM encrypts your media files using aes-ctr
encryption.
If you use DRM for an HLSv3
playlist, your outputs must have a
master playlist.
Constructors
- PlayReadyDrm({String? format, String? initializationVector, String? key, String? keyId, String? keyMd5, String? licenseAcquisitionUrl})
-
PlayReadyDrm.fromJson(Map<
String, dynamic> json) -
factory
Properties
- format → String?
-
The type of DRM, if any, that you want Elastic Transcoder to apply to the
output files associated with this playlist.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initializationVector → String?
-
The series of random bits created by a random bit generator, unique for
every encryption operation, that you want Elastic Transcoder to use to
encrypt your files. The initialization vector must be base64-encoded, and it
must be exactly 8 bytes long before being base64-encoded. If no
initialization vector is provided, Elastic Transcoder generates one for you.
final
- key → String?
-
The DRM key for your file, provided by your DRM license provider. The key
must be base64-encoded, and it must be one of the following bit lengths
before being base64-encoded:
final
- keyId → String?
-
The ID for your DRM key, so that your DRM license provider knows which key
to provide.
final
- keyMd5 → String?
-
The MD5 digest of the key used for DRM on your file, and that you want
Elastic Transcoder to use as a checksum to make sure your key was not
corrupted in transit. The key MD5 must be base64-encoded, and it must be
exactly 16 bytes before being base64-encoded.
final
- licenseAcquisitionUrl → String?
-
The location of the license key required to play DRM content. The URL must
be an absolute path, and is referenced by the PlayReady header. The
PlayReady header is referenced in the protection header of the client
manifest for Smooth Streaming outputs, and in the EXT-X-DXDRM and
EXT-XDXDRMINFO metadata tags for HLS playlist outputs. An example URL looks
like this:
https://www.example.com/exampleKey/
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