prepareContentId property

  1. @JsonKey(includeFromJson: false, includeToJson: false)
(String Function(String contentId)?) prepareContentId
final

A function to prepare the contentId, which is sent to the FairPlay Streaming license server as request body, and which is used to build the SPC data. As many DRM providers expect different, vendor-specific messages, this can be done using this user-defined function. The parameter is the skd:// URI extracted from the HLS manifest (m3u8) and the return value should be the processed contentId as a String.

Implementation

@JsonKey(includeFromJson: false, includeToJson: false)
final String Function(String contentId)? prepareContentId;