@mediakind/mkplayer 1.45.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/CHANGELOG.md +116 -57
  2. package/README.md +1 -1
  3. package/docs/assets/hierarchy.js +1 -0
  4. package/docs/assets/highlight.css +10 -17
  5. package/docs/assets/icons.js +18 -0
  6. package/docs/assets/icons.svg +1 -0
  7. package/docs/assets/main.js +5 -3
  8. package/docs/assets/navigation.js +1 -0
  9. package/docs/assets/search.js +1 -1
  10. package/docs/assets/style.css +1425 -1181
  11. package/docs/documents/CHANGELOG.html +577 -0
  12. package/docs/enums/MKAdInteractionType.html +2 -0
  13. package/docs/enums/MKAdQuartile.html +8 -266
  14. package/docs/enums/MKAdTagType.html +5 -0
  15. package/docs/enums/MKAdType.html +10 -274
  16. package/docs/enums/MKAdaptationLogicType.html +10 -266
  17. package/docs/enums/MKAssetType.html +12 -282
  18. package/docs/enums/MKBufferType.html +5 -254
  19. package/docs/enums/MKDrmType.html +12 -282
  20. package/docs/enums/MKErrorCode.html +289 -1290
  21. package/docs/enums/MKHttpRequestType.html +21 -337
  22. package/docs/enums/MKHttpResponseType.html +7 -267
  23. package/docs/enums/MKLatencyMode.html +10 -274
  24. package/docs/enums/MKLiveSynchronizationMethod.html +8 -266
  25. package/docs/enums/MKLogLevel.html +10 -268
  26. package/docs/enums/MKMediaType.html +3 -248
  27. package/docs/enums/MKMetadataType.html +17 -302
  28. package/docs/enums/MKPlatformType.html +3 -248
  29. package/docs/enums/MKPlayerEngineType.html +6 -258
  30. package/docs/enums/MKPlayerEvent.html +229 -1009
  31. package/docs/enums/MKPlayerType.html +10 -274
  32. package/docs/enums/MKProgramRestrictionType.html +36 -378
  33. package/docs/enums/MKRttEstimationMethod.html +5 -254
  34. package/docs/enums/MKStartOffsetTimelineReference.html +8 -257
  35. package/docs/enums/MKStreamType.html +12 -290
  36. package/docs/enums/MKTimeMode.html +5 -256
  37. package/docs/enums/MKViewMode.html +5 -257
  38. package/docs/hierarchy.html +1 -0
  39. package/docs/index.html +598 -279
  40. package/docs/interfaces/MKAd.html +25 -344
  41. package/docs/interfaces/MKAdBreak.html +13 -277
  42. package/docs/interfaces/MKAdBreakConfig.html +27 -331
  43. package/docs/interfaces/MKAdBreakEvent.html +7 -273
  44. package/docs/interfaces/MKAdBreakFinishedEvent.html +8 -274
  45. package/docs/interfaces/MKAdBreakSkippedEvent.html +8 -274
  46. package/docs/interfaces/MKAdBreakStartedEvent.html +16 -306
  47. package/docs/interfaces/MKAdClickThroughEvent.html +12 -290
  48. package/docs/interfaces/MKAdClickedEvent.html +8 -274
  49. package/docs/interfaces/MKAdCompanionEvent.html +10 -282
  50. package/docs/interfaces/MKAdConfig.html +3 -252
  51. package/docs/interfaces/MKAdData.html +10 -0
  52. package/docs/interfaces/MKAdEvent.html +7 -271
  53. package/docs/interfaces/MKAdFinishedEvent.html +8 -274
  54. package/docs/interfaces/MKAdInteractionEvent.html +10 -282
  55. package/docs/interfaces/MKAdLinearityChangedEvent.html +8 -274
  56. package/docs/interfaces/MKAdManifestLoadedEvent.html +9 -282
  57. package/docs/interfaces/MKAdMarkerEvent.html +8 -274
  58. package/docs/interfaces/MKAdQuartileEvent.html +10 -282
  59. package/docs/interfaces/MKAdSkippedEvent.html +22 -330
  60. package/docs/interfaces/MKAdStartedEvent.html +22 -330
  61. package/docs/interfaces/MKAdTag.html +7 -0
  62. package/docs/interfaces/MKAdTagConfig.html +20 -0
  63. package/docs/interfaces/MKAdTagPlaceholders.html +19 -0
  64. package/docs/interfaces/MKAdVerificationEvent.html +12 -290
  65. package/docs/interfaces/MKAdaptationAPI.html +7 -276
  66. package/docs/interfaces/MKAdaptationConfig.html +38 -393
  67. package/docs/interfaces/MKAdaptationData.html +6 -272
  68. package/docs/interfaces/MKAdaptationEvent.html +8 -277
  69. package/docs/interfaces/MKAdaptationPlatformConfig.html +61 -262
  70. package/docs/interfaces/MKAdobePrimetimeConfig.html +19 -314
  71. package/docs/interfaces/MKAdvertisingConfig.html +30 -337
  72. package/docs/interfaces/MKAirplayChangedEvent.html +13 -293
  73. package/docs/interfaces/MKAnalyticsConfig.html +70 -549
  74. package/docs/interfaces/MKAspectRatioChangedEvent.html +10 -282
  75. package/docs/interfaces/MKAudioAdaptationData.html +6 -273
  76. package/docs/interfaces/MKAudioAdaptationEvent.html +8 -275
  77. package/docs/interfaces/MKAudioChangedEvent.html +15 -301
  78. package/docs/interfaces/MKAudioDownloadQualityChangeEvent.html +14 -302
  79. package/docs/interfaces/MKAudioDownloadQualityChangedEvent.html +14 -302
  80. package/docs/interfaces/MKAudioPlaybackQualityChangedEvent.html +10 -284
  81. package/docs/interfaces/MKAudioQuality.html +12 -289
  82. package/docs/interfaces/MKAudioQualityChangedEvent.html +14 -302
  83. package/docs/interfaces/MKAudioQualityEvent.html +7 -272
  84. package/docs/interfaces/MKAudioTrack.html +12 -295
  85. package/docs/interfaces/MKAudioTrackEvent.html +13 -293
  86. package/docs/interfaces/MKBitrateLimitationConfig.html +10 -278
  87. package/docs/interfaces/MKBufferAPI.html +14 -300
  88. package/docs/interfaces/MKBufferConfig.html +10 -264
  89. package/docs/interfaces/MKBufferLevel.html +10 -274
  90. package/docs/interfaces/MKBufferMediaTypeConfig.html +6 -262
  91. package/docs/interfaces/MKCastAvailableEvent.html +8 -274
  92. package/docs/interfaces/MKCastConfig.html +16 -293
  93. package/docs/interfaces/MKCastStartedEvent.html +10 -282
  94. package/docs/interfaces/MKCastWaitingForDeviceEvent.html +7 -282
  95. package/docs/interfaces/MKCdnOptions.html +7 -261
  96. package/docs/interfaces/MKClearKeyDRMConfig.html +5 -236
  97. package/docs/interfaces/MKClearKeyDRMConfigEntry.html +7 -258
  98. package/docs/interfaces/MKClearKeyDRMServerConfig.html +23 -294
  99. package/docs/interfaces/MKCompanionAd.html +6 -0
  100. package/docs/interfaces/MKDownloadFinishedEvent.html +26 -346
  101. package/docs/interfaces/MKDownloadTiming.html +5 -258
  102. package/docs/interfaces/MKDownloadedAudioData.html +8 -275
  103. package/docs/interfaces/MKDownloadedData.html +8 -273
  104. package/docs/interfaces/MKDownloadedVideoData.html +12 -291
  105. package/docs/interfaces/MKDrmAPI.html +12 -294
  106. package/docs/interfaces/MKDrmConfig.html +22 -308
  107. package/docs/interfaces/MKDrmLicense.html +4 -257
  108. package/docs/interfaces/MKDrmLicenseAddedEvent.html +8 -274
  109. package/docs/interfaces/MKDurationChangedEvent.html +10 -282
  110. package/docs/interfaces/MKDynamicAdaptationConfig.html +8 -272
  111. package/docs/interfaces/MKEnvironmentConfig.html +11 -279
  112. package/docs/interfaces/MKError.html +8 -276
  113. package/docs/interfaces/MKErrorEvent.html +16 -315
  114. package/docs/interfaces/MKFMTSASiDEvent.html +10 -282
  115. package/docs/interfaces/MKFairplayDrmConfig.html +48 -442
  116. package/docs/interfaces/MKLatencyModeChangedEvent.html +10 -282
  117. package/docs/interfaces/MKLinearAdUiConfig.html +15 -0
  118. package/docs/interfaces/MKLiveConfigAtSourceLevel.html +8 -270
  119. package/docs/interfaces/MKLogConfig.html +4 -254
  120. package/docs/interfaces/MKLowLatencyAPI.html +20 -345
  121. package/docs/interfaces/MKLowLatencyConfig.html +10 -271
  122. package/docs/interfaces/MKLowLatencySyncConfig.html +9 -270
  123. package/docs/interfaces/MKManifestAPI.html +3 -253
  124. package/docs/interfaces/MKMediaPlaybackQualityChangeEvent.html +10 -290
  125. package/docs/interfaces/MKMediaQualityChangeEvent.html +14 -305
  126. package/docs/interfaces/MKMediaQualityEvent.html +7 -274
  127. package/docs/interfaces/MKMediaTrack.html +7 -270
  128. package/docs/interfaces/MKMediaTrackRole.html +5 -264
  129. package/docs/interfaces/MKMetadata.html +9 -274
  130. package/docs/interfaces/MKMetadataChangedEvent.html +14 -302
  131. package/docs/interfaces/MKMetadataEvent.html +14 -301
  132. package/docs/interfaces/MKMetadataParsedEvent.html +14 -302
  133. package/docs/interfaces/MKModuleInfo.html +3 -252
  134. package/docs/interfaces/MKPauseAd.html +22 -0
  135. package/docs/interfaces/MKPauseAdDismissedEvent.html +7 -0
  136. package/docs/interfaces/MKPauseAdShownEvent.html +8 -0
  137. package/docs/interfaces/MKPauseAdWarningEvent.html +9 -0
  138. package/docs/interfaces/MKPeriodContentInformation.html +7 -266
  139. package/docs/interfaces/MKPeriodInformation.html +6 -258
  140. package/docs/interfaces/MKPeriodSwitchObject.html +3 -250
  141. package/docs/interfaces/MKPeriodSwitchedEvent.html +10 -282
  142. package/docs/interfaces/MKPlayReadyDrmConfig.html +23 -321
  143. package/docs/interfaces/MKPlayStation5Tweaks.html +7 -266
  144. package/docs/interfaces/MKPlaybackConfig.html +43 -370
  145. package/docs/interfaces/MKPlaybackEvent.html +11 -289
  146. package/docs/interfaces/MKPlaybackSpeedChangedEvent.html +10 -282
  147. package/docs/interfaces/MKPlayerAPI.html +361 -1864
  148. package/docs/interfaces/MKPlayerConfig.html +58 -413
  149. package/docs/interfaces/MKPlayerEventBase.html +6 -307
  150. package/docs/interfaces/MKPlayerEventCallback.html +2 -247
  151. package/docs/interfaces/MKPlayerEventConfig.html +7 -231
  152. package/docs/interfaces/MKPlayerResizedEvent.html +10 -282
  153. package/docs/interfaces/MKPlayerTechnology.html +6 -264
  154. package/docs/interfaces/MKPreferredTechnology.html +8 -274
  155. package/docs/interfaces/MKProgramRestrictions.html +10 -264
  156. package/docs/interfaces/MKProgramRestrictionsEvent.html +8 -274
  157. package/docs/interfaces/MKProgramTimeChangedEvent.html +8 -274
  158. package/docs/interfaces/MKProgressiveSource.html +11 -282
  159. package/docs/interfaces/MKQuality.html +11 -285
  160. package/docs/interfaces/MKQualityMetadata.html +15 -298
  161. package/docs/interfaces/MKRegisteredSource.html +16 -302
  162. package/docs/interfaces/MKRestrictStrategy.html +11 -0
  163. package/docs/interfaces/MKSeekEvent.html +13 -292
  164. package/docs/interfaces/MKSegmentInfo.html +8 -270
  165. package/docs/interfaces/MKSegmentMap.html +2 -235
  166. package/docs/interfaces/MKSegmentPlaybackEvent.html +30 -380
  167. package/docs/interfaces/MKSegmentQualityMap.html +2 -235
  168. package/docs/interfaces/MKSegmentRequestFinishedEvent.html +22 -330
  169. package/docs/interfaces/MKSessionDataEvent.html +11 -0
  170. package/docs/interfaces/MKSourceConfig.html +65 -443
  171. package/docs/interfaces/MKSourceLabelingConfig.html +11 -318
  172. package/docs/interfaces/MKSourceLabelingStreamTypeConfig.html +6 -262
  173. package/docs/interfaces/MKSourceOptions.html +42 -393
  174. package/docs/interfaces/MKSsaiAdConfig.html +29 -0
  175. package/docs/interfaces/MKStyleConfig.html +11 -266
  176. package/docs/interfaces/MKSubtitleCueEvent.html +30 -350
  177. package/docs/interfaces/MKSubtitleCuePosition.html +6 -262
  178. package/docs/interfaces/MKSubtitleEvent.html +8 -274
  179. package/docs/interfaces/MKSubtitleTrack.html +20 -323
  180. package/docs/interfaces/MKSubtitlesAPI.html +23 -373
  181. package/docs/interfaces/MKSynchronizationConfigEntry.html +5 -258
  182. package/docs/interfaces/MKTargetLatencyChangedEvent.html +10 -282
  183. package/docs/interfaces/MKTextTrack.html +16 -305
  184. package/docs/interfaces/MKThumbnail.html +18 -310
  185. package/docs/interfaces/MKThumbnailTrack.html +4 -254
  186. package/docs/interfaces/MKTimeChangedEvent.html +11 -285
  187. package/docs/interfaces/MKTimeRange.html +5 -258
  188. package/docs/interfaces/MKTimelineMarker.html +14 -288
  189. package/docs/interfaces/MKTrackMetadata.html +7 -266
  190. package/docs/interfaces/MKTweaksConfig.html +82 -539
  191. package/docs/interfaces/MKUserInteractionEvent.html +9 -279
  192. package/docs/interfaces/MKVSPPSessionIdEvent.html +8 -274
  193. package/docs/interfaces/MKVTTProperties.html +21 -322
  194. package/docs/interfaces/MKVTTRegionProperties.html +17 -306
  195. package/docs/interfaces/MKVastAdExtension.html +9 -0
  196. package/docs/interfaces/MKVastAdExtensionAttributes.html +1 -0
  197. package/docs/interfaces/MKVideoAdaptationData.html +6 -273
  198. package/docs/interfaces/MKVideoAdaptationEvent.html +8 -275
  199. package/docs/interfaces/MKVideoDownloadQualityChangeEvent.html +14 -302
  200. package/docs/interfaces/MKVideoDownloadQualityChangedEvent.html +14 -302
  201. package/docs/interfaces/MKVideoPlaybackQualityChangedEvent.html +10 -284
  202. package/docs/interfaces/MKVideoQuality.html +18 -313
  203. package/docs/interfaces/MKVideoQualityChangedEvent.html +14 -302
  204. package/docs/interfaces/MKVideoQualityEvent.html +7 -272
  205. package/docs/interfaces/MKVideoSizeLimitationConfig.html +9 -274
  206. package/docs/interfaces/MKVideoTrack.html +10 -287
  207. package/docs/interfaces/MKViewModeChangedEvent.html +12 -290
  208. package/docs/interfaces/MKViewModeOptions.html +4 -254
  209. package/docs/interfaces/MKVolumeChangedEvent.html +13 -292
  210. package/docs/interfaces/MKWidevineModularDrmConfig.html +25 -355
  211. package/docs/modules.html +1 -424
  212. package/docs/types/MKBitrate.html +1 -225
  213. package/docs/types/MKHeaders.html +1 -230
  214. package/docs/types/MKUserEngagement.html +1 -230
  215. package/docs/types/MKWishAbrConfig.html +8 -253
  216. package/mkplayer.js +1 -1
  217. package/package.json +2 -2
  218. package/types/alias/index.d.ts +0 -7
  219. package/types/classes/common/MKEventBase.d.ts +9 -1
  220. package/types/classes/common/MKPauseAdOverlay.d.ts +1 -0
  221. package/types/classes/common/index.d.ts +1 -0
  222. package/types/classes/player/MKPlayer.d.ts +10 -4
  223. package/types/constants/MKVersion.d.ts +1 -1
  224. package/types/enums/MKAdInteractionType.d.ts +3 -0
  225. package/types/enums/MKAdTagType.d.ts +5 -0
  226. package/types/enums/MKErrorCode.d.ts +5 -2
  227. package/types/enums/MKMetadataType.d.ts +1 -1
  228. package/types/enums/MKPlayerEvent.d.ts +4 -0
  229. package/types/enums/index.d.ts +2 -0
  230. package/types/interfaces/MKAdBreak.d.ts +1 -0
  231. package/types/interfaces/MKAdBreakConfig.d.ts +2 -7
  232. package/types/interfaces/MKAdaptationPlatformConfig.d.ts +1 -1
  233. package/types/interfaces/MKAdvertisingConfig.d.ts +6 -6
  234. package/types/interfaces/MKHttpRequestOptions.d.ts +1 -8
  235. package/types/interfaces/MKHttpResponse.d.ts +1 -12
  236. package/types/interfaces/MKModuleInfo.d.ts +4 -0
  237. package/types/interfaces/MKPauseAd.d.ts +31 -0
  238. package/types/interfaces/MKPlayerAPI.d.ts +3 -1
  239. package/types/interfaces/MKPlayerConfig.d.ts +3 -2
  240. package/types/interfaces/MKPlayerCoreAPI.d.ts +6 -3
  241. package/types/interfaces/MKSourceConfig.d.ts +0 -1
  242. package/types/interfaces/MKSsaiAdConfig.d.ts +5 -0
  243. package/types/interfaces/MKTweaksConfig.d.ts +0 -2
  244. package/types/interfaces/MKVTTProperties.d.ts +1 -1
  245. package/types/interfaces/events/MKAdInteractionEvent.d.ts +1 -3
  246. package/types/interfaces/events/MKAdQuartileEvent.d.ts +1 -3
  247. package/types/interfaces/events/MKPauseAdDismissedEvent.d.ts +3 -0
  248. package/types/interfaces/events/MKPauseAdShownEvent.d.ts +5 -0
  249. package/types/interfaces/events/MKPauseAdWarningEvent.d.ts +4 -0
  250. package/types/interfaces/events/MKSessionDataEvent.d.ts +7 -0
  251. package/types/interfaces/events/index.d.ts +4 -0
  252. package/types/interfaces/index.d.ts +6 -5
  253. package/docs/interfaces/MKHttpRequestOptions.html +0 -287
  254. package/docs/interfaces/MKHttpResponse.html +0 -339
  255. package/docs/interfaces/MKPlayerAdvertisingAPI.html +0 -372
  256. package/docs/interfaces/MKPlayerCoreAPI.html +0 -1701
  257. package/docs/types/MKHttpMethod.html +0 -225
  258. package/docs/types/MKRequestBody.html +0 -230
  259. package/docs/types/MKRequestQueryParams.html +0 -230
  260. package/types/interfaces/MKPlayerAdvertisingAPI.d.ts +0 -17
@@ -1,462 +1,68 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MKFairplayDrmConfig | MKPlayer - v1.45.0</title><meta name="description" content="Documentation for MKPlayer"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
- <div class="tsd-toolbar-contents container">
3
- <div class="table-cell" id="tsd-search" data-base="..">
4
- <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
- <div class="field">
6
- <div id="tsd-toolbar-links"></div></div>
7
- <ul class="results">
8
- <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MKPlayer - v1.45.0</a></div>
10
- <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
- <div class="container container-main">
12
- <div class="col-content">
13
- <div class="tsd-page-title">
14
- <ul class="tsd-breadcrumb">
15
- <li><a href="../modules.html">MKPlayer</a></li>
16
- <li><a href="MKFairplayDrmConfig.html">MKFairplayDrmConfig</a></li></ul>
17
- <h1>Interface MKFairplayDrmConfig</h1></div>
18
- <section class="tsd-panel tsd-comment">
19
- <div class="tsd-comment tsd-typography"><p>Apple Fairplay Drm configuration.</p>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MKFairplayDrmConfig | MKPlayer - v1.47.0</title><meta name="description" content="Documentation for MKPlayer"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MKPlayer - v1.47.0</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">MKPlayer</a></li><li><a href="MKFairplayDrmConfig.html">MKFairplayDrmConfig</a></li></ul><h1>Interface MKFairplayDrmConfig</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Apple Fairplay Drm configuration.</p>
2
+ <p>Note: this requires <a href="MKDrmConfig.html#usingazuki" class="tsd-kind-property">MKDrmConfig.usingAzuki</a> to be <code>false</code>, otherwise SDK replaces these callbacks.</p>
20
3
  <p><strong>EZDRM Example:</strong></p>
21
- <pre><code><span class="hl-13">fairplay</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-13">LA_URL</span><span class="hl-1">: </span><span class="hl-11">&#39;http://fps.ezdrm.com/api/licenses/YOUR-CONTENT-ID&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-13">certificateURL</span><span class="hl-1">: </span><span class="hl-11">&#39;YOUR-CERTIFICATE&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-13">prepareContentId</span><span class="hl-1">: (</span><span class="hl-0">contentId</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">uri</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">uriParts</span><span class="hl-1"> = </span><span class="hl-0">uri</span><span class="hl-1">.</span><span class="hl-10">split</span><span class="hl-1">(</span><span class="hl-11">&#39;://&#39;</span><span class="hl-1">, </span><span class="hl-14">1</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">protocol</span><span class="hl-1"> = </span><span class="hl-0">uriParts</span><span class="hl-1">[</span><span class="hl-14">0</span><span class="hl-1">].</span><span class="hl-10">slice</span><span class="hl-1">(-</span><span class="hl-14">3</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">uriParts</span><span class="hl-1"> = </span><span class="hl-0">uri</span><span class="hl-1">.</span><span class="hl-10">split</span><span class="hl-1">(</span><span class="hl-11">&#39;;&#39;</span><span class="hl-1">, </span><span class="hl-14">2</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">contentId</span><span class="hl-1"> = </span><span class="hl-0">uriParts</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">&gt;</span><span class="hl-14">1</span><span class="hl-1">?</span><span class="hl-0">uriParts</span><span class="hl-1">[</span><span class="hl-14">1</span><span class="hl-1">]:</span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-0">protocol</span><span class="hl-1">.</span><span class="hl-10">toLowerCase</span><span class="hl-1">()==</span><span class="hl-11">&#39;skd&#39;</span><span class="hl-1"> ? </span><span class="hl-0">contentId</span><span class="hl-1"> : </span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">prepareLicenseAsync</span><span class="hl-1">: (</span><span class="hl-0">ckc</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-16">Promise</span><span class="hl-1">((</span><span class="hl-0">resolve</span><span class="hl-1">, </span><span class="hl-0">reject</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">reader</span><span class="hl-1"> = </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">FileReader</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">addEventListener</span><span class="hl-1">(</span><span class="hl-11">&#39;loadend&#39;</span><span class="hl-1">, () </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">array</span><span class="hl-1"> = </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">Uint8Array</span><span class="hl-1">(</span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-0">result</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">resolve</span><span class="hl-1">(</span><span class="hl-0">array</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">addEventListener</span><span class="hl-1">(</span><span class="hl-11">&#39;error&#39;</span><span class="hl-1">, () </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">reject</span><span class="hl-1">(</span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-0">error</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">readAsArrayBuffer</span><span class="hl-1">(</span><span class="hl-0">ckc</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">prepareMessage</span><span class="hl-1">: (</span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">session</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">Blob</span><span class="hl-1">([</span><span class="hl-0">event</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">], {</span><span class="hl-0">type:</span><span class="hl-1"> </span><span class="hl-11">&#39;application/octet-binary&#39;</span><span class="hl-1">});</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">headers</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-11">&#39;content-type&#39;</span><span class="hl-1">: </span><span class="hl-11">&#39;application/octet-stream&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">useUint16InitData</span><span class="hl-1">: </span><span class="hl-8">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-13">licenseResponseType</span><span class="hl-1">: </span><span class="hl-11">&#39;blob&#39;</span><br/><span class="hl-1">}</span>
4
+ <pre><code><span class="hl-12">fairplay</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-12">LA_URL</span><span class="hl-1">: </span><span class="hl-11">&#39;http://fps.ezdrm.com/api/licenses/YOUR-CONTENT-ID&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-12">certificateURL</span><span class="hl-1">: </span><span class="hl-11">&#39;YOUR-CERTIFICATE&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-12">prepareContentId</span><span class="hl-1">: (</span><span class="hl-0">contentId</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">uri</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">let</span><span class="hl-1"> </span><span class="hl-0">uriParts</span><span class="hl-1"> = </span><span class="hl-0">uri</span><span class="hl-1">.</span><span class="hl-10">split</span><span class="hl-1">(</span><span class="hl-11">&#39;://&#39;</span><span class="hl-1">, </span><span class="hl-13">1</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">protocol</span><span class="hl-1"> = </span><span class="hl-0">uriParts</span><span class="hl-1">[</span><span class="hl-13">0</span><span class="hl-1">].</span><span class="hl-10">slice</span><span class="hl-1">(-</span><span class="hl-13">3</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">uriParts</span><span class="hl-1"> = </span><span class="hl-0">uri</span><span class="hl-1">.</span><span class="hl-10">split</span><span class="hl-1">(</span><span class="hl-11">&#39;;&#39;</span><span class="hl-1">, </span><span class="hl-13">2</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">contentId</span><span class="hl-1"> = </span><span class="hl-0">uriParts</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">&gt;</span><span class="hl-13">1</span><span class="hl-1">?</span><span class="hl-0">uriParts</span><span class="hl-1">[</span><span class="hl-13">1</span><span class="hl-1">]:</span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-0">protocol</span><span class="hl-1">.</span><span class="hl-10">toLowerCase</span><span class="hl-1">()==</span><span class="hl-11">&#39;skd&#39;</span><span class="hl-1"> ? </span><span class="hl-0">contentId</span><span class="hl-1"> : </span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">prepareLicenseAsync</span><span class="hl-1">: (</span><span class="hl-0">ckc</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-15">Promise</span><span class="hl-1">((</span><span class="hl-0">resolve</span><span class="hl-1">, </span><span class="hl-0">reject</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">reader</span><span class="hl-1"> = </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">FileReader</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">addEventListener</span><span class="hl-1">(</span><span class="hl-11">&#39;loadend&#39;</span><span class="hl-1">, () </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">array</span><span class="hl-1"> = </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">Uint8Array</span><span class="hl-1">(</span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-0">result</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-10">resolve</span><span class="hl-1">(</span><span class="hl-0">array</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">addEventListener</span><span class="hl-1">(</span><span class="hl-11">&#39;error&#39;</span><span class="hl-1">, () </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">reject</span><span class="hl-1">(</span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-0">error</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> </span><span class="hl-0">reader</span><span class="hl-1">.</span><span class="hl-10">readAsArrayBuffer</span><span class="hl-1">(</span><span class="hl-0">ckc</span><span class="hl-1">);</span><br/><span class="hl-1"> });</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">prepareMessage</span><span class="hl-1">: (</span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">session</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-8">new</span><span class="hl-1"> </span><span class="hl-10">Blob</span><span class="hl-1">([</span><span class="hl-0">event</span><span class="hl-1">.</span><span class="hl-0">message</span><span class="hl-1">], {</span><span class="hl-0">type:</span><span class="hl-1"> </span><span class="hl-11">&#39;application/octet-binary&#39;</span><span class="hl-1">});</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">headers</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-11">&#39;content-type&#39;</span><span class="hl-1">: </span><span class="hl-11">&#39;application/octet-stream&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">useUint16InitData</span><span class="hl-1">: </span><span class="hl-8">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-12">licenseResponseType</span><span class="hl-1">: </span><span class="hl-11">&#39;blob&#39;</span><br/><span class="hl-1">}</span>
22
5
  </code><button>Copy</button></pre>
6
+
23
7
  <p><strong>DRMtoday by castLabs Example:</strong></p>
24
- <pre><code><span class="hl-13">fairplay</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-13">LA_URL</span><span class="hl-1">: </span><span class="hl-11">&#39;https://license-server-url-provided-by-drmtoday&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-13">certificateURL</span><span class="hl-1">: </span><span class="hl-11">&#39;https://certificate-url-provided-by-drmtoday&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-13">headers</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-11">&#39;dt-custom-data&#39;</span><span class="hl-1">: </span><span class="hl-11">&#39;INSERT-YOUR-BASE64-ENCODED-CUSTOMDATA&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">prepareMessage</span><span class="hl-1"> : (</span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">session</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-11">&#39;spc=&#39;</span><span class="hl-1"> + </span><span class="hl-10">encodeURIComponent</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">.</span><span class="hl-0">messageBase64Encoded</span><span class="hl-1">) + </span><span class="hl-11">&#39;&amp;&#39;</span><span class="hl-1"> + </span><span class="hl-0">session</span><span class="hl-1">.</span><span class="hl-0">contentId</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-13">prepareContentId</span><span class="hl-1"> : (</span><span class="hl-0">contentId</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">pattern</span><span class="hl-1">=</span><span class="hl-11">&#39;skd://drmtoday?&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">let</span><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">let</span><span class="hl-1"> </span><span class="hl-0">idx</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">.</span><span class="hl-10">indexOf</span><span class="hl-1">(</span><span class="hl-0">pattern</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-15">if</span><span class="hl-1"> (</span><span class="hl-0">idx</span><span class="hl-1"> &gt; -</span><span class="hl-14">1</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">.</span><span class="hl-10">substring</span><span class="hl-1">(</span><span class="hl-0">idx</span><span class="hl-1"> + </span><span class="hl-0">pattern</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">parameters</span><span class="hl-1">.</span><span class="hl-10">replace</span><span class="hl-1">(</span><span class="hl-17">/assetid/</span><span class="hl-8">gi</span><span class="hl-1">, </span><span class="hl-11">&#39;assetId&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">parameters</span><span class="hl-1">.</span><span class="hl-10">replace</span><span class="hl-1">(</span><span class="hl-17">/variantid/</span><span class="hl-8">gi</span><span class="hl-1">, </span><span class="hl-11">&#39;variantId&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1">;</span><br/><span class="hl-1"> } </span><span class="hl-15">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-15">return</span><span class="hl-1"> </span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
8
+ <pre><code><span class="hl-12">fairplay</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-12">LA_URL</span><span class="hl-1">: </span><span class="hl-11">&#39;https://license-server-url-provided-by-drmtoday&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-12">certificateURL</span><span class="hl-1">: </span><span class="hl-11">&#39;https://certificate-url-provided-by-drmtoday&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-12">headers</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-11">&#39;dt-custom-data&#39;</span><span class="hl-1">: </span><span class="hl-11">&#39;INSERT-YOUR-BASE64-ENCODED-CUSTOMDATA&#39;</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">prepareMessage</span><span class="hl-1"> : (</span><span class="hl-0">event</span><span class="hl-1">, </span><span class="hl-0">session</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-11">&#39;spc=&#39;</span><span class="hl-1"> + </span><span class="hl-10">encodeURIComponent</span><span class="hl-1">(</span><span class="hl-0">event</span><span class="hl-1">.</span><span class="hl-0">messageBase64Encoded</span><span class="hl-1">) + </span><span class="hl-11">&#39;&amp;&#39;</span><span class="hl-1"> + </span><span class="hl-0">session</span><span class="hl-1">.</span><span class="hl-0">contentId</span><span class="hl-1">;</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-12">prepareContentId</span><span class="hl-1"> : (</span><span class="hl-0">contentId</span><span class="hl-1">) </span><span class="hl-8">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">const</span><span class="hl-1"> </span><span class="hl-9">pattern</span><span class="hl-1">=</span><span class="hl-11">&#39;skd://drmtoday?&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">let</span><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1">;</span><br/><span class="hl-1"> </span><span class="hl-8">let</span><span class="hl-1"> </span><span class="hl-0">idx</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">.</span><span class="hl-10">indexOf</span><span class="hl-1">(</span><span class="hl-0">pattern</span><span class="hl-1">);</span><br/><br/><span class="hl-1"> </span><span class="hl-14">if</span><span class="hl-1"> (</span><span class="hl-0">idx</span><span class="hl-1"> &gt; -</span><span class="hl-13">1</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">contentId</span><span class="hl-1">.</span><span class="hl-10">substring</span><span class="hl-1">(</span><span class="hl-0">idx</span><span class="hl-1"> + </span><span class="hl-0">pattern</span><span class="hl-1">.</span><span class="hl-0">length</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">parameters</span><span class="hl-1">.</span><span class="hl-10">replace</span><span class="hl-1">(</span><span class="hl-16">/assetid/</span><span class="hl-8">gi</span><span class="hl-1">, </span><span class="hl-11">&#39;assetId&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1"> = </span><span class="hl-0">parameters</span><span class="hl-1">.</span><span class="hl-10">replace</span><span class="hl-1">(</span><span class="hl-16">/variantid/</span><span class="hl-8">gi</span><span class="hl-1">, </span><span class="hl-11">&#39;variantId&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-0">parameters</span><span class="hl-1">;</span><br/><span class="hl-1"> } </span><span class="hl-14">else</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-14">return</span><span class="hl-1"> </span><span class="hl-11">&#39;&#39;</span><span class="hl-1">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
25
9
  </code><button>Copy</button></pre>
26
- </div>
27
- <div class="tsd-comment tsd-typography"></div></section>
28
- <section class="tsd-panel tsd-hierarchy">
29
- <h4>Hierarchy</h4>
30
- <ul class="tsd-hierarchy">
31
- <li><span class="target">MKFairplayDrmConfig</span></li></ul></section>
32
- <section class="tsd-panel-group tsd-index-group">
33
- <section class="tsd-panel tsd-index-panel">
34
- <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
35
- <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
36
- <div class="tsd-accordion-details">
37
- <section class="tsd-index-section">
38
- <h3 class="tsd-index-heading">Properties</h3>
39
- <div class="tsd-index-list"><a href="MKFairplayDrmConfig.html#LA_URL" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-1024"><rect fill="var(--color-icon-background)" stroke="#FF984D" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.354 16V7.24H12.174C12.99 7.24 13.638 7.476 14.118 7.948C14.606 8.412 14.85 9.036 14.85 9.82C14.85 10.604 14.606 11.232 14.118 11.704C13.638 12.168 12.99 12.4 12.174 12.4H10.434V16H9.354ZM10.434 11.428H12.174C12.646 11.428 13.022 11.284 13.302 10.996C13.59 10.7 13.734 10.308 13.734 9.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g></svg><span>LA_<wbr/>URL?</span></a>
40
- <a href="MKFairplayDrmConfig.html#certificateHeaders" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>certificate<wbr/>Headers?</span></a>
41
- <a href="MKFairplayDrmConfig.html#certificateURL" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>certificateURL</span></a>
42
- <a href="MKFairplayDrmConfig.html#getLicenseServerUrl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>get<wbr/>License<wbr/>Server<wbr/>Url?</span></a>
43
- <a href="MKFairplayDrmConfig.html#headers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>headers?</span></a>
44
- <a href="MKFairplayDrmConfig.html#licenseResponseType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>license<wbr/>Response<wbr/>Type?</span></a>
45
- <a href="MKFairplayDrmConfig.html#maxCertificateRequestRetries" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries?</span></a>
46
- <a href="MKFairplayDrmConfig.html#maxLicenseRequestRetries" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>max<wbr/>License<wbr/>Request<wbr/>Retries?</span></a>
47
- <a href="MKFairplayDrmConfig.html#prepareCertificate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Certificate?</span></a>
48
- <a href="MKFairplayDrmConfig.html#prepareContentId" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Content<wbr/>Id?</span></a>
49
- <a href="MKFairplayDrmConfig.html#prepareLicense" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>License?</span></a>
50
- <a href="MKFairplayDrmConfig.html#prepareMessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Message?</span></a>
51
- <a href="MKFairplayDrmConfig.html#serverCertificate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>server<wbr/>Certificate?</span></a>
52
- <a href="MKFairplayDrmConfig.html#useUint16InitData" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>use<wbr/>Uint16<wbr/>Init<wbr/>Data?</span></a>
53
- <a href="MKFairplayDrmConfig.html#withCredentials" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>with<wbr/>Credentials?</span></a>
54
- </div></section></div></details></section></section>
55
- <section class="tsd-panel-group tsd-member-group">
56
- <h2>Properties</h2>
57
- <section class="tsd-panel tsd-member"><a id="LA_URL" class="tsd-anchor"></a>
58
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>LA_<wbr/>URL</span><a href="#LA_URL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
59
- <div class="tsd-signature"><span class="tsd-kind-property">LA_<wbr/>URL</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div>
60
- <div class="tsd-comment tsd-typography"><p>The URL to the Fairplay license server for this content.</p>
10
+
11
+ </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">MKFairplayDrmConfig</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#certificateheaders">certificateHeaders</a><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#certificateurl">certificateURL</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#getlicenseserverurl">getLicenseServerUrl</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">skdUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#headers">headers</a><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#la_url">LA_URL</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#licenseresponsetype">licenseResponseType</a><span class="tsd-signature-symbol">?:</span> <a href="../enums/MKHttpResponseType.html" class="tsd-signature-type tsd-kind-enum">MKHttpResponseType</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#maxcertificaterequestretries">maxCertificateRequestRetries</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#maxlicenserequestretries">maxLicenseRequestRetries</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#preparecertificate">prepareCertificate</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#preparecontentid">prepareContentId</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#preparelicense">prepareLicense</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#preparelicenseasync">prepareLicenseAsync</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#preparemessage">prepareMessage</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">session</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#servercertificate">serverCertificate</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#useuint16initdata">useUint16InitData</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="MKFairplayDrmConfig.html#withcredentials">withCredentials</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="MKFairplayDrmConfig.html#certificateheaders" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>certificate<wbr/>Headers?</span></a>
12
+ <a href="MKFairplayDrmConfig.html#certificateurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>certificateURL</span></a>
13
+ <a href="MKFairplayDrmConfig.html#getlicenseserverurl" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>get<wbr/>License<wbr/>Server<wbr/>Url?</span></a>
14
+ <a href="MKFairplayDrmConfig.html#headers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>headers?</span></a>
15
+ <a href="MKFairplayDrmConfig.html#la_url" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>LA_<wbr/>URL?</span></a>
16
+ <a href="MKFairplayDrmConfig.html#licenseresponsetype" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>license<wbr/>Response<wbr/>Type?</span></a>
17
+ <a href="MKFairplayDrmConfig.html#maxcertificaterequestretries" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries?</span></a>
18
+ <a href="MKFairplayDrmConfig.html#maxlicenserequestretries" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>License<wbr/>Request<wbr/>Retries?</span></a>
19
+ <a href="MKFairplayDrmConfig.html#preparecertificate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Certificate?</span></a>
20
+ <a href="MKFairplayDrmConfig.html#preparecontentid" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Content<wbr/>Id?</span></a>
21
+ <a href="MKFairplayDrmConfig.html#preparelicense" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>License?</span></a>
22
+ <a href="MKFairplayDrmConfig.html#preparelicenseasync" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>License<wbr/>Async?</span></a>
23
+ <a href="MKFairplayDrmConfig.html#preparemessage" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Message?</span></a>
24
+ <a href="MKFairplayDrmConfig.html#servercertificate" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>server<wbr/>Certificate?</span></a>
25
+ <a href="MKFairplayDrmConfig.html#useuint16initdata" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>use<wbr/>Uint16<wbr/>Init<wbr/>Data?</span></a>
26
+ <a href="MKFairplayDrmConfig.html#withcredentials" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>with<wbr/>Credentials?</span></a>
27
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="certificateheaders" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>certificate<wbr/>Headers</span><a href="#certificateheaders" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">certificateHeaders</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a></div><div class="tsd-comment tsd-typography"><p>An object specifying custom HTTP request headers for the certificate request.</p>
28
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="certificateurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>certificateURL</span><a href="#certificateurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">certificateURL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>URL to the Fairplay certificate of the license server.</p>
29
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="getlicenseserverurl" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>get<wbr/>License<wbr/>Server<wbr/>Url</span><a href="#getlicenseserverurl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">getLicenseServerUrl</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">skdUrl</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A callback function which gets the URI (without the skd: part) from the HLS manifest passed as parameter.</p>
30
+ <p>The function needs to return a string which is used as LA_URL “as is”.</p>
31
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="headers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>headers</span><a href="#headers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">headers</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a></div><div class="tsd-comment tsd-typography"><p>An object specifying HTTP request headers for the license request.</p>
32
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="la_url" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>LA_<wbr/>URL</span><a href="#la_url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">LA_URL</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>The URL to the Fairplay license server for this content.</p>
61
33
  <p>Can be defined in the configuration or taken out from the video manifest if defined there.</p>
62
34
  <p>If the config URL is defined it has precedence over the URL defined in the manifest.</p>
63
- </div>
64
- <div class="tsd-comment tsd-typography"></div></section>
65
- <section class="tsd-panel tsd-member"><a id="certificateHeaders" class="tsd-anchor"></a>
66
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>certificate<wbr/>Headers</span><a href="#certificateHeaders" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
67
- <div class="tsd-signature"><span class="tsd-kind-property">certificate<wbr/>Headers</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a></div>
68
- <div class="tsd-comment tsd-typography"><p>An object specifying custom HTTP request headers for the certificate request.</p>
69
- </div>
70
- <div class="tsd-comment tsd-typography"></div></section>
71
- <section class="tsd-panel tsd-member"><a id="certificateURL" class="tsd-anchor"></a>
72
- <h3 class="tsd-anchor-link"><span>certificateURL</span><a href="#certificateURL" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
73
- <div class="tsd-signature"><span class="tsd-kind-property">certificateURL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
74
- <div class="tsd-comment tsd-typography"><p>URL to the Fairplay certificate of the license server.</p>
75
- </div>
76
- <div class="tsd-comment tsd-typography"></div></section>
77
- <section class="tsd-panel tsd-member"><a id="getLicenseServerUrl" class="tsd-anchor"></a>
78
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>get<wbr/>License<wbr/>Server<wbr/>Url</span><a href="#getLicenseServerUrl" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
79
- <div class="tsd-signature"><span class="tsd-kind-property">get<wbr/>License<wbr/>Server<wbr/>Url</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">skdUrl</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></div>
80
- <div class="tsd-type-declaration">
81
- <h4>Type declaration</h4>
82
- <ul class="tsd-parameters">
83
- <li class="tsd-parameter-signature">
84
- <ul class="tsd-signatures">
85
- <li class="tsd-signature" id="getLicenseServerUrl.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">skdUrl</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
86
- <li class="tsd-description">
87
- <div class="tsd-comment tsd-typography"><p>A callback function which gets the URI (without the skd: part) from the HLS manifest passed as parameter.</p>
88
- <p>The function needs to return a string which is used as LA_URL “as is”.</p>
89
- </div>
90
- <div class="tsd-parameters">
91
- <h4 class="tsd-parameters-title">Parameters</h4>
92
- <ul class="tsd-parameter-list">
93
- <li>
94
- <h5><span class="tsd-kind-parameter">skdUrl</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
95
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
96
- <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div></section>
97
- <section class="tsd-panel tsd-member"><a id="headers" class="tsd-anchor"></a>
98
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>headers</span><a href="#headers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
99
- <div class="tsd-signature"><span class="tsd-kind-property">headers</span><span class="tsd-signature-symbol">?:</span> <a href="../types/MKHeaders.html" class="tsd-signature-type tsd-kind-type-alias">MKHeaders</a></div>
100
- <div class="tsd-comment tsd-typography"><p>An object specifying HTTP request headers for the license request.</p>
101
- </div>
102
- <div class="tsd-comment tsd-typography"></div></section>
103
- <section class="tsd-panel tsd-member"><a id="licenseResponseType" class="tsd-anchor"></a>
104
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>license<wbr/>Response<wbr/>Type</span><a href="#licenseResponseType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
105
- <div class="tsd-signature"><span class="tsd-kind-property">license<wbr/>Response<wbr/>Type</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MKHttpResponseType.html" class="tsd-signature-type tsd-kind-enum">MKHttpResponseType</a></div>
106
- <div class="tsd-comment tsd-typography"><p>Sets an explicit response type for the license request.</p>
107
- <p>Default response type for this request is <a href="../enums/MKHttpResponseType.html#TEXT" class="tsd-kind-enum-member">TEXT</a>.</p>
108
- </div>
109
- <div class="tsd-comment tsd-typography"></div></section>
110
- <section class="tsd-panel tsd-member"><a id="maxCertificateRequestRetries" class="tsd-anchor"></a>
111
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries</span><a href="#maxCertificateRequestRetries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
112
- <div class="tsd-signature"><span class="tsd-kind-property">max<wbr/>Certificate<wbr/>Request<wbr/>Retries</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
113
- <div class="tsd-comment tsd-typography"><p>Specifies how often a certificate request should be retried if was not successful (e.g. the certificate URL returns a 404).</p>
35
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="licenseresponsetype" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>license<wbr/>Response<wbr/>Type</span><a href="#licenseresponsetype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">licenseResponseType</span><span class="tsd-signature-symbol">?:</span> <a href="../enums/MKHttpResponseType.html" class="tsd-signature-type tsd-kind-enum">MKHttpResponseType</a></div><div class="tsd-comment tsd-typography"><p>Sets an explicit response type for the license request.</p>
36
+ <p>Default response type for this request is <a href="../enums/MKHttpResponseType.html#text" class="tsd-kind-enum-member">MKHttpResponseType.TEXT</a>.</p>
37
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="maxcertificaterequestretries" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries</span><a href="#maxcertificaterequestretries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxCertificateRequestRetries</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Specifies how often a certificate request should be retried if was not successful (e.g. the certificate URL returns a 404).</p>
114
38
  <p>Default is <code>1</code> and a value of <code>0</code> disables retries.</p>
115
- </div>
116
- <div class="tsd-comment tsd-typography"></div></section>
117
- <section class="tsd-panel tsd-member"><a id="maxLicenseRequestRetries" class="tsd-anchor"></a>
118
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>max<wbr/>License<wbr/>Request<wbr/>Retries</span><a href="#maxLicenseRequestRetries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
119
- <div class="tsd-signature"><span class="tsd-kind-property">max<wbr/>License<wbr/>Request<wbr/>Retries</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div>
120
- <div class="tsd-comment tsd-typography"><p>Specifies how often a license request should be retried if was not successful (e.g. the license server was not reachable).</p>
39
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="maxlicenserequestretries" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>max<wbr/>License<wbr/>Request<wbr/>Retries</span><a href="#maxlicenserequestretries" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">maxLicenseRequestRetries</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span></div><div class="tsd-comment tsd-typography"><p>Specifies how often a license request should be retried if was not successful (e.g. the license server was not reachable).</p>
121
40
  <p>Default is <code>1</code> and a value of <code>0</code> disables retries.</p>
122
- </div>
123
- <div class="tsd-comment tsd-typography"></div></section>
124
- <section class="tsd-panel tsd-member"><a id="prepareCertificate" class="tsd-anchor"></a>
125
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Certificate</span><a href="#prepareCertificate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
126
- <div class="tsd-signature"><span class="tsd-kind-property">prepare<wbr/>Certificate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type ">ArrayBuffer</span><span class="tsd-signature-symbol">)</span></div>
127
- <div class="tsd-type-declaration">
128
- <h4>Type declaration</h4>
129
- <ul class="tsd-parameters">
130
- <li class="tsd-parameter-signature">
131
- <ul class="tsd-signatures">
132
- <li class="tsd-signature" id="prepareCertificate.__type-2.__type-3"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">ArrayBuffer</span></li>
133
- <li class="tsd-description">
134
- <div class="tsd-comment tsd-typography"><p>A function to prepare the certificate before passing it into the browser.</p>
41
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="preparecertificate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>prepare<wbr/>Certificate</span><a href="#preparecertificate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">prepareCertificate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">ArrayBuffer</span></div><div class="tsd-comment tsd-typography"><p>A function to prepare the certificate before passing it into the browser.</p>
135
42
  <p>This is needed if the server response with anything else than the certificate, e.g. if the certificate is wrapped into a JSON object.</p>
136
43
  <p>The server response is passed as parameter “as is” and the return type is expected to be an ArrayBuffer.</p>
137
- <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingAzuki" class="tsd-kind-property">usingAzuki</a>.</p>
138
- </div>
139
- <div class="tsd-parameters">
140
- <h4 class="tsd-parameters-title">Parameters</h4>
141
- <ul class="tsd-parameter-list">
142
- <li>
143
- <h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
144
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">ArrayBuffer</span></h4>
145
- <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div></section>
146
- <section class="tsd-panel tsd-member"><a id="prepareContentId" class="tsd-anchor"></a>
147
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Content<wbr/>Id</span><a href="#prepareContentId" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
148
- <div class="tsd-signature"><span class="tsd-kind-property">prepare<wbr/>Content<wbr/>Id</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></div>
149
- <div class="tsd-type-declaration">
150
- <h4>Type declaration</h4>
151
- <ul class="tsd-parameters">
152
- <li class="tsd-parameter-signature">
153
- <ul class="tsd-signatures">
154
- <li class="tsd-signature" id="prepareContentId.__type-4.__type-5"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
155
- <li class="tsd-description">
156
- <div class="tsd-comment tsd-typography"><p>A function to prepare the contentId, which is sent to the Fairplay license server as request body (optional).</p>
44
+ <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingazuki" class="tsd-kind-property">MKDrmConfig.usingAzuki</a>.</p>
45
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="preparecontentid" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>prepare<wbr/>Content<wbr/>Id</span><a href="#preparecontentid" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">prepareContentId</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A function to prepare the contentId, which is sent to the Fairplay license server as request body (optional).</p>
157
46
  <p>As many DRM providers expect different, vendor-specific messages, this can be done using this user-defined function.</p>
158
- <p>The parameter is the URI extracted from the HLS manifset (m3u8) and the return value should be the contentID as string.</p>
159
- <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingAzuki" class="tsd-kind-property">usingAzuki</a>.</p>
160
- </div>
161
- <div class="tsd-parameters">
162
- <h4 class="tsd-parameters-title">Parameters</h4>
163
- <ul class="tsd-parameter-list">
164
- <li>
165
- <h5><span class="tsd-kind-parameter">url</span>: <span class="tsd-signature-type">string</span></h5></li></ul></div>
166
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
167
- <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div></section>
168
- <section class="tsd-panel tsd-member"><a id="prepareLicense" class="tsd-anchor"></a>
169
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>License</span><a href="#prepareLicense" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
170
- <div class="tsd-signature"><span class="tsd-kind-property">prepare<wbr/>License</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span></div>
171
- <div class="tsd-type-declaration">
172
- <h4>Type declaration</h4>
173
- <ul class="tsd-parameters">
174
- <li class="tsd-parameter-signature">
175
- <ul class="tsd-signatures">
176
- <li class="tsd-signature" id="prepareLicense.__type-6.__type-7"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></li>
177
- <li class="tsd-description">
178
- <div class="tsd-comment tsd-typography"><p>A function to prepare the license before passing it into the browser.</p>
47
+ <p>The parameter is the URI extracted from the HLS manifest (m3u8) and the return value should be the contentID as string.</p>
48
+ <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingazuki" class="tsd-kind-property">MKDrmConfig.usingAzuki</a>.</p>
49
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="preparelicense" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>prepare<wbr/>License</span><a href="#preparelicense" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">prepareLicense</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>A function to prepare the license before passing it into the browser.</p>
179
50
  <p>This is needed if the server response with anything else than the license, e.g. if the license is wrapped into a JSON object.</p>
180
51
  <p>The server response is passed as parameter “as is” and the return type is expected to be a Base64-encoded string.</p>
181
- <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingAzuki" class="tsd-kind-property">usingAzuki</a>.</p>
182
- </div>
183
- <div class="tsd-parameters">
184
- <h4 class="tsd-parameters-title">Parameters</h4>
185
- <ul class="tsd-parameter-list">
186
- <li>
187
- <h5><span class="tsd-kind-parameter">data</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
188
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
189
- <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div></section>
190
- <section class="tsd-panel tsd-member"><a id="prepareMessage" class="tsd-anchor"></a>
191
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>prepare<wbr/>Message</span><a href="#prepareMessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
192
- <div class="tsd-signature"><span class="tsd-kind-property">prepare<wbr/>Message</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">session</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span></div>
193
- <div class="tsd-type-declaration">
194
- <h4>Type declaration</h4>
195
- <ul class="tsd-parameters">
196
- <li class="tsd-parameter-signature">
197
- <ul class="tsd-signatures">
198
- <li class="tsd-signature" id="prepareMessage.__type-8.__type-9"><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span>, <span class="tsd-kind-parameter">session</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
199
- <li class="tsd-description">
200
- <div class="tsd-comment tsd-typography"><p>A function to prepare the license acquisition message which will be sent to the license acquisition server (optional).</p>
52
+ <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingazuki" class="tsd-kind-property">MKDrmConfig.usingAzuki</a>.</p>
53
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="preparelicenseasync" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>prepare<wbr/>License<wbr/>Async</span><a href="#preparelicenseasync" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">prepareLicenseAsync</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Uint8Array</span><span class="tsd-signature-symbol">&gt;</span></div><div class="tsd-comment tsd-typography"><p>Similar to prepareLicense, this callback can be used to prepare the license before passing it to the browser, but the license can be processed asynchronously.</p>
54
+ <p>Please note that this function must return a promise and the parameter for the resolve function needs to be the Uint8Array, which is passed “as is” to the browser.</p>
55
+ <p>Using this function prevents prepareLicense from being called.</p>
56
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="preparemessage" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>prepare<wbr/>Message</span><a href="#preparemessage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">prepareMessage</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">session</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">any</span></div><div class="tsd-comment tsd-typography"><p>A function to prepare the license acquisition message which will be sent to the license acquisition server (optional).</p>
201
57
  <p>As many DRM providers expect different, vendor-specific messages, this can be done using this user-defined function.</p>
202
58
  <p>The first parameter is the key message event object as given by the Fairplay Content Decryption Module (CDM), enhanced by the messageBase64Encoded attribute, which contains the key message encoded as base64 encoded string.</p>
203
59
  <p>The second parameter is the session object, enhanced by a contentId attribute.</p>
204
- <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingAzuki" class="tsd-kind-property">usingAzuki</a>.</p>
205
- </div>
206
- <div class="tsd-parameters">
207
- <h4 class="tsd-parameters-title">Parameters</h4>
208
- <ul class="tsd-parameter-list">
209
- <li>
210
- <h5><span class="tsd-kind-parameter">event</span>: <span class="tsd-signature-type">any</span></h5></li>
211
- <li>
212
- <h5><span class="tsd-kind-parameter">session</span>: <span class="tsd-signature-type">any</span></h5></li></ul></div>
213
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
214
- <div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div></section>
215
- <section class="tsd-panel tsd-member"><a id="serverCertificate" class="tsd-anchor"></a>
216
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>server<wbr/>Certificate</span><a href="#serverCertificate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
217
- <div class="tsd-signature"><span class="tsd-kind-property">server<wbr/>Certificate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type ">ArrayBuffer</span></div>
218
- <div class="tsd-comment tsd-typography"><p>Defaults to null, e.g., certificate will be requested from the license server if required.</p>
60
+ <p><strong>Note:</strong> Please see notes for <a href="MKDrmConfig.html#usingazuki" class="tsd-kind-property">MKDrmConfig.usingAzuki</a>.</p>
61
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="servercertificate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>server<wbr/>Certificate</span><a href="#servercertificate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">serverCertificate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">ArrayBuffer</span></div><div class="tsd-comment tsd-typography"><p>Defaults to null, e.g., certificate will be requested from the license server if required.</p>
219
62
  <p>A key-system-specific server certificate used to encrypt license requests.</p>
220
63
  <p>Its use is optional and is meant as an optimization to avoid a round-trip to request a certificate.</p>
221
- </div>
222
- <div class="tsd-comment tsd-typography"></div></section>
223
- <section class="tsd-panel tsd-member"><a id="useUint16InitData" class="tsd-anchor"></a>
224
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>use<wbr/>Uint16<wbr/>Init<wbr/>Data</span><a href="#useUint16InitData" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
225
- <div class="tsd-signature"><span class="tsd-kind-property">use<wbr/>Uint16<wbr/>Init<wbr/>Data</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
226
- <div class="tsd-comment tsd-typography"><p>A flag to change between <code>Uint8Array</code> (default, value false) and <code>Uint16Array</code> initialization data.</p>
64
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="useuint16initdata" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>use<wbr/>Uint16<wbr/>Init<wbr/>Data</span><a href="#useuint16initdata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">useUint16InitData</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>A flag to change between <code>Uint8Array</code> (default, value false) and <code>Uint16Array</code> initialization data.</p>
227
65
  <p>Depends on the fairplay license server, most use <code>Uint8Array</code></p>
228
- </div>
229
- <div class="tsd-comment tsd-typography"></div></section>
230
- <section class="tsd-panel tsd-member"><a id="withCredentials" class="tsd-anchor"></a>
231
- <h3 class="tsd-anchor-link"><code class="tsd-tag ts-flagOptional">Optional</code> <span>with<wbr/>Credentials</span><a href="#withCredentials" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
232
- <div class="tsd-signature"><span class="tsd-kind-property">with<wbr/>Credentials</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div>
233
- <div class="tsd-comment tsd-typography"><p>Set to <code>true</code> to send credentials such as cookies or authorization headers along with the license requests.</p>
66
+ </div><div class="tsd-comment tsd-typography"></div></section><section class="tsd-panel tsd-member"><a id="withcredentials" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>with<wbr/>Credentials</span><a href="#withcredentials" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">withCredentials</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span></div><div class="tsd-comment tsd-typography"><p>Set to <code>true</code> to send credentials such as cookies or authorization headers along with the license requests.</p>
234
67
  <p>Default value is <code>false</code>.</p>
235
- </div>
236
- <div class="tsd-comment tsd-typography"></div></section></section></div>
237
- <div class="col-sidebar">
238
- <div class="page-menu">
239
- <div class="tsd-navigation settings">
240
- <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
241
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
242
- <div class="tsd-accordion-details">
243
- <div class="tsd-filter-visibility">
244
- <h4 class="uppercase">Member Visibility</h4><form>
245
- <ul id="tsd-filter-options">
246
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
247
- <div class="tsd-theme-toggle">
248
- <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
249
- <details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
250
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
251
- <div class="tsd-accordion-details">
252
- <ul>
253
- <li><a href="#LA_URL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>LA_<wbr/>URL</span></a></li>
254
- <li><a href="#certificateHeaders" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>certificate<wbr/>Headers</span></a></li>
255
- <li><a href="#certificateURL" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>certificateURL</span></a></li>
256
- <li><a href="#getLicenseServerUrl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>get<wbr/>License<wbr/>Server<wbr/>Url</span></a></li>
257
- <li><a href="#headers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>headers</span></a></li>
258
- <li><a href="#licenseResponseType" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>license<wbr/>Response<wbr/>Type</span></a></li>
259
- <li><a href="#maxCertificateRequestRetries" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries</span></a></li>
260
- <li><a href="#maxLicenseRequestRetries" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>max<wbr/>License<wbr/>Request<wbr/>Retries</span></a></li>
261
- <li><a href="#prepareCertificate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Certificate</span></a></li>
262
- <li><a href="#prepareContentId" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Content<wbr/>Id</span></a></li>
263
- <li><a href="#prepareLicense" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>License</span></a></li>
264
- <li><a href="#prepareMessage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>prepare<wbr/>Message</span></a></li>
265
- <li><a href="#serverCertificate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>server<wbr/>Certificate</span></a></li>
266
- <li><a href="#useUint16InitData" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>use<wbr/>Uint16<wbr/>Init<wbr/>Data</span></a></li>
267
- <li><a href="#withCredentials" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-1024"></use></svg><span>with<wbr/>Credentials</span></a></li></ul></div></details></div>
268
- <div class="site-menu">
269
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>MKPlayer -<wbr/> v1.45.0</span></a>
270
- <ul class="tsd-small-nested-navigation">
271
- <li><a href="../enums/MKAdQuartile.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>MKAd<wbr/>Quartile</span></a></li>
272
- <li><a href="../enums/MKAdType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKAd<wbr/>Type</span></a></li>
273
- <li><a href="../enums/MKAdaptationLogicType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKAdaptation<wbr/>Logic<wbr/>Type</span></a></li>
274
- <li><a href="../enums/MKAssetType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKAsset<wbr/>Type</span></a></li>
275
- <li><a href="../enums/MKBufferType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKBuffer<wbr/>Type</span></a></li>
276
- <li><a href="../enums/MKDrmType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKDrm<wbr/>Type</span></a></li>
277
- <li><a href="../enums/MKErrorCode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKError<wbr/>Code</span></a></li>
278
- <li><a href="../enums/MKHttpRequestType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKHttp<wbr/>Request<wbr/>Type</span></a></li>
279
- <li><a href="../enums/MKHttpResponseType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKHttp<wbr/>Response<wbr/>Type</span></a></li>
280
- <li><a href="../enums/MKLatencyMode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKLatency<wbr/>Mode</span></a></li>
281
- <li><a href="../enums/MKLiveSynchronizationMethod.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKLive<wbr/>Synchronization<wbr/>Method</span></a></li>
282
- <li><a href="../enums/MKLogLevel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKLog<wbr/>Level</span></a></li>
283
- <li><a href="../enums/MKMediaType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKMedia<wbr/>Type</span></a></li>
284
- <li><a href="../enums/MKMetadataType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKMetadata<wbr/>Type</span></a></li>
285
- <li><a href="../enums/MKPlatformType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKPlatform<wbr/>Type</span></a></li>
286
- <li><a href="../enums/MKPlayerEngineType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKPlayer<wbr/>Engine<wbr/>Type</span></a></li>
287
- <li><a href="../enums/MKPlayerEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKPlayer<wbr/>Event</span></a></li>
288
- <li><a href="../enums/MKPlayerType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKPlayer<wbr/>Type</span></a></li>
289
- <li><a href="../enums/MKProgramRestrictionType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKProgram<wbr/>Restriction<wbr/>Type</span></a></li>
290
- <li><a href="../enums/MKRttEstimationMethod.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKRtt<wbr/>Estimation<wbr/>Method</span></a></li>
291
- <li><a href="../enums/MKStartOffsetTimelineReference.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKStart<wbr/>Offset<wbr/>Timeline<wbr/>Reference</span></a></li>
292
- <li><a href="../enums/MKStreamType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKStream<wbr/>Type</span></a></li>
293
- <li><a href="../enums/MKTimeMode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKTime<wbr/>Mode</span></a></li>
294
- <li><a href="../enums/MKViewMode.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>MKView<wbr/>Mode</span></a></li>
295
- <li><a href="MKAd.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>MKAd</span></a></li>
296
- <li><a href="MKAdBreak.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break</span></a></li>
297
- <li><a href="MKAdBreakConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break<wbr/>Config</span></a></li>
298
- <li><a href="MKAdBreakEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break<wbr/>Event</span></a></li>
299
- <li><a href="MKAdBreakFinishedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break<wbr/>Finished<wbr/>Event</span></a></li>
300
- <li><a href="MKAdBreakSkippedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break<wbr/>Skipped<wbr/>Event</span></a></li>
301
- <li><a href="MKAdBreakStartedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Break<wbr/>Started<wbr/>Event</span></a></li>
302
- <li><a href="MKAdClickThroughEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Click<wbr/>Through<wbr/>Event</span></a></li>
303
- <li><a href="MKAdClickedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Clicked<wbr/>Event</span></a></li>
304
- <li><a href="MKAdCompanionEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Companion<wbr/>Event</span></a></li>
305
- <li><a href="MKAdConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Config</span></a></li>
306
- <li><a href="MKAdEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Event</span></a></li>
307
- <li><a href="MKAdFinishedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Finished<wbr/>Event</span></a></li>
308
- <li><a href="MKAdInteractionEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Interaction<wbr/>Event</span></a></li>
309
- <li><a href="MKAdLinearityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Linearity<wbr/>Changed<wbr/>Event</span></a></li>
310
- <li><a href="MKAdManifestLoadedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Manifest<wbr/>Loaded<wbr/>Event</span></a></li>
311
- <li><a href="MKAdMarkerEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Marker<wbr/>Event</span></a></li>
312
- <li><a href="MKAdQuartileEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Quartile<wbr/>Event</span></a></li>
313
- <li><a href="MKAdSkippedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Skipped<wbr/>Event</span></a></li>
314
- <li><a href="MKAdStartedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Started<wbr/>Event</span></a></li>
315
- <li><a href="MKAdVerificationEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAd<wbr/>Verification<wbr/>Event</span></a></li>
316
- <li><a href="MKAdaptationAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdaptationAPI</span></a></li>
317
- <li><a href="MKAdaptationConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdaptation<wbr/>Config</span></a></li>
318
- <li><a href="MKAdaptationData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdaptation<wbr/>Data</span></a></li>
319
- <li><a href="MKAdaptationEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdaptation<wbr/>Event</span></a></li>
320
- <li><a href="MKAdaptationPlatformConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdaptation<wbr/>Platform<wbr/>Config</span></a></li>
321
- <li><a href="MKAdobePrimetimeConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdobe<wbr/>Primetime<wbr/>Config</span></a></li>
322
- <li><a href="MKAdvertisingConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAdvertising<wbr/>Config</span></a></li>
323
- <li><a href="MKAirplayChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAirplay<wbr/>Changed<wbr/>Event</span></a></li>
324
- <li><a href="MKAnalyticsConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAnalytics<wbr/>Config</span></a></li>
325
- <li><a href="MKAspectRatioChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAspect<wbr/>Ratio<wbr/>Changed<wbr/>Event</span></a></li>
326
- <li><a href="MKAudioAdaptationData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Adaptation<wbr/>Data</span></a></li>
327
- <li><a href="MKAudioAdaptationEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Adaptation<wbr/>Event</span></a></li>
328
- <li><a href="MKAudioChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Changed<wbr/>Event</span></a></li>
329
- <li><a href="MKAudioDownloadQualityChangeEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Download<wbr/>Quality<wbr/>Change<wbr/>Event</span></a></li>
330
- <li><a href="MKAudioDownloadQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Download<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
331
- <li><a href="MKAudioPlaybackQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Playback<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
332
- <li><a href="MKAudioQuality.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Quality</span></a></li>
333
- <li><a href="MKAudioQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
334
- <li><a href="MKAudioQualityEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Quality<wbr/>Event</span></a></li>
335
- <li><a href="MKAudioTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Track</span></a></li>
336
- <li><a href="MKAudioTrackEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKAudio<wbr/>Track<wbr/>Event</span></a></li>
337
- <li><a href="MKBitrateLimitationConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKBitrate<wbr/>Limitation<wbr/>Config</span></a></li>
338
- <li><a href="MKBufferAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKBufferAPI</span></a></li>
339
- <li><a href="MKBufferConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKBuffer<wbr/>Config</span></a></li>
340
- <li><a href="MKBufferLevel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKBuffer<wbr/>Level</span></a></li>
341
- <li><a href="MKBufferMediaTypeConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKBuffer<wbr/>Media<wbr/>Type<wbr/>Config</span></a></li>
342
- <li><a href="MKCastAvailableEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKCast<wbr/>Available<wbr/>Event</span></a></li>
343
- <li><a href="MKCastConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKCast<wbr/>Config</span></a></li>
344
- <li><a href="MKCastStartedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKCast<wbr/>Started<wbr/>Event</span></a></li>
345
- <li><a href="MKCastWaitingForDeviceEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKCast<wbr/>Waiting<wbr/>For<wbr/>Device<wbr/>Event</span></a></li>
346
- <li><a href="MKCdnOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKCdn<wbr/>Options</span></a></li>
347
- <li><a href="MKClearKeyDRMConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKClear<wbr/>KeyDRMConfig</span></a></li>
348
- <li><a href="MKClearKeyDRMConfigEntry.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKClear<wbr/>KeyDRMConfig<wbr/>Entry</span></a></li>
349
- <li><a href="MKClearKeyDRMServerConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKClear<wbr/>KeyDRMServer<wbr/>Config</span></a></li>
350
- <li><a href="MKDownloadFinishedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDownload<wbr/>Finished<wbr/>Event</span></a></li>
351
- <li><a href="MKDownloadTiming.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDownload<wbr/>Timing</span></a></li>
352
- <li><a href="MKDownloadedAudioData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDownloaded<wbr/>Audio<wbr/>Data</span></a></li>
353
- <li><a href="MKDownloadedData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDownloaded<wbr/>Data</span></a></li>
354
- <li><a href="MKDownloadedVideoData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDownloaded<wbr/>Video<wbr/>Data</span></a></li>
355
- <li><a href="MKDrmAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDrmAPI</span></a></li>
356
- <li><a href="MKDrmConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDrm<wbr/>Config</span></a></li>
357
- <li><a href="MKDrmLicense.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDrm<wbr/>License</span></a></li>
358
- <li><a href="MKDrmLicenseAddedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDrm<wbr/>License<wbr/>Added<wbr/>Event</span></a></li>
359
- <li><a href="MKDurationChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDuration<wbr/>Changed<wbr/>Event</span></a></li>
360
- <li><a href="MKDynamicAdaptationConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKDynamic<wbr/>Adaptation<wbr/>Config</span></a></li>
361
- <li><a href="MKEnvironmentConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKEnvironment<wbr/>Config</span></a></li>
362
- <li><a href="MKError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKError</span></a></li>
363
- <li><a href="MKErrorEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKError<wbr/>Event</span></a></li>
364
- <li><a href="MKFMTSASiDEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKFMTSASiDEvent</span></a></li>
365
- <li><a href="MKFairplayDrmConfig.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKFairplay<wbr/>Drm<wbr/>Config</span></a></li>
366
- <li><a href="MKHttpRequestOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKHttp<wbr/>Request<wbr/>Options</span></a></li>
367
- <li><a href="MKHttpResponse.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKHttp<wbr/>Response</span></a></li>
368
- <li><a href="MKLatencyModeChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLatency<wbr/>Mode<wbr/>Changed<wbr/>Event</span></a></li>
369
- <li><a href="MKLiveConfigAtSourceLevel.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLive<wbr/>Config<wbr/>At<wbr/>Source<wbr/>Level</span></a></li>
370
- <li><a href="MKLogConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLog<wbr/>Config</span></a></li>
371
- <li><a href="MKLowLatencyAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLow<wbr/>LatencyAPI</span></a></li>
372
- <li><a href="MKLowLatencyConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLow<wbr/>Latency<wbr/>Config</span></a></li>
373
- <li><a href="MKLowLatencySyncConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKLow<wbr/>Latency<wbr/>Sync<wbr/>Config</span></a></li>
374
- <li><a href="MKManifestAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKManifestAPI</span></a></li>
375
- <li><a href="MKMediaPlaybackQualityChangeEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMedia<wbr/>Playback<wbr/>Quality<wbr/>Change<wbr/>Event</span></a></li>
376
- <li><a href="MKMediaQualityChangeEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMedia<wbr/>Quality<wbr/>Change<wbr/>Event</span></a></li>
377
- <li><a href="MKMediaQualityEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMedia<wbr/>Quality<wbr/>Event</span></a></li>
378
- <li><a href="MKMediaTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMedia<wbr/>Track</span></a></li>
379
- <li><a href="MKMediaTrackRole.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMedia<wbr/>Track<wbr/>Role</span></a></li>
380
- <li><a href="MKMetadata.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMetadata</span></a></li>
381
- <li><a href="MKMetadataChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMetadata<wbr/>Changed<wbr/>Event</span></a></li>
382
- <li><a href="MKMetadataEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMetadata<wbr/>Event</span></a></li>
383
- <li><a href="MKMetadataParsedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKMetadata<wbr/>Parsed<wbr/>Event</span></a></li>
384
- <li><a href="MKModuleInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKModule<wbr/>Info</span></a></li>
385
- <li><a href="MKPeriodContentInformation.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPeriod<wbr/>Content<wbr/>Information</span></a></li>
386
- <li><a href="MKPeriodInformation.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPeriod<wbr/>Information</span></a></li>
387
- <li><a href="MKPeriodSwitchObject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPeriod<wbr/>Switch<wbr/>Object</span></a></li>
388
- <li><a href="MKPeriodSwitchedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPeriod<wbr/>Switched<wbr/>Event</span></a></li>
389
- <li><a href="MKPlayReadyDrmConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlay<wbr/>Ready<wbr/>Drm<wbr/>Config</span></a></li>
390
- <li><a href="MKPlayStation5Tweaks.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlay<wbr/>Station5<wbr/>Tweaks</span></a></li>
391
- <li><a href="MKPlaybackConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayback<wbr/>Config</span></a></li>
392
- <li><a href="MKPlaybackEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayback<wbr/>Event</span></a></li>
393
- <li><a href="MKPlaybackSpeedChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayback<wbr/>Speed<wbr/>Changed<wbr/>Event</span></a></li>
394
- <li><a href="MKPlayerAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayerAPI</span></a></li>
395
- <li><a href="MKPlayerAdvertisingAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>AdvertisingAPI</span></a></li>
396
- <li><a href="MKPlayerConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Config</span></a></li>
397
- <li><a href="MKPlayerCoreAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>CoreAPI</span></a></li>
398
- <li><a href="MKPlayerEventBase.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Event<wbr/>Base</span></a></li>
399
- <li><a href="MKPlayerEventCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Event<wbr/>Callback</span></a></li>
400
- <li><a href="MKPlayerEventConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Event<wbr/>Config</span></a></li>
401
- <li><a href="MKPlayerResizedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Resized<wbr/>Event</span></a></li>
402
- <li><a href="MKPlayerTechnology.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPlayer<wbr/>Technology</span></a></li>
403
- <li><a href="MKPreferredTechnology.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKPreferred<wbr/>Technology</span></a></li>
404
- <li><a href="MKProgramRestrictions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKProgram<wbr/>Restrictions</span></a></li>
405
- <li><a href="MKProgramRestrictionsEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKProgram<wbr/>Restrictions<wbr/>Event</span></a></li>
406
- <li><a href="MKProgramTimeChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKProgram<wbr/>Time<wbr/>Changed<wbr/>Event</span></a></li>
407
- <li><a href="MKProgressiveSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKProgressive<wbr/>Source</span></a></li>
408
- <li><a href="MKQuality.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKQuality</span></a></li>
409
- <li><a href="MKQualityMetadata.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKQuality<wbr/>Metadata</span></a></li>
410
- <li><a href="MKRegisteredSource.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKRegistered<wbr/>Source</span></a></li>
411
- <li><a href="MKSeekEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSeek<wbr/>Event</span></a></li>
412
- <li><a href="MKSegmentInfo.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSegment<wbr/>Info</span></a></li>
413
- <li><a href="MKSegmentMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSegment<wbr/>Map</span></a></li>
414
- <li><a href="MKSegmentPlaybackEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSegment<wbr/>Playback<wbr/>Event</span></a></li>
415
- <li><a href="MKSegmentQualityMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSegment<wbr/>Quality<wbr/>Map</span></a></li>
416
- <li><a href="MKSegmentRequestFinishedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSegment<wbr/>Request<wbr/>Finished<wbr/>Event</span></a></li>
417
- <li><a href="MKSourceConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSource<wbr/>Config</span></a></li>
418
- <li><a href="MKSourceLabelingConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSource<wbr/>Labeling<wbr/>Config</span></a></li>
419
- <li><a href="MKSourceLabelingStreamTypeConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSource<wbr/>Labeling<wbr/>Stream<wbr/>Type<wbr/>Config</span></a></li>
420
- <li><a href="MKSourceOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSource<wbr/>Options</span></a></li>
421
- <li><a href="MKStyleConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKStyle<wbr/>Config</span></a></li>
422
- <li><a href="MKSubtitleCueEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSubtitle<wbr/>Cue<wbr/>Event</span></a></li>
423
- <li><a href="MKSubtitleCuePosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSubtitle<wbr/>Cue<wbr/>Position</span></a></li>
424
- <li><a href="MKSubtitleEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSubtitle<wbr/>Event</span></a></li>
425
- <li><a href="MKSubtitleTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSubtitle<wbr/>Track</span></a></li>
426
- <li><a href="MKSubtitlesAPI.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSubtitlesAPI</span></a></li>
427
- <li><a href="MKSynchronizationConfigEntry.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKSynchronization<wbr/>Config<wbr/>Entry</span></a></li>
428
- <li><a href="MKTargetLatencyChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTarget<wbr/>Latency<wbr/>Changed<wbr/>Event</span></a></li>
429
- <li><a href="MKTextTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKText<wbr/>Track</span></a></li>
430
- <li><a href="MKThumbnail.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKThumbnail</span></a></li>
431
- <li><a href="MKThumbnailTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKThumbnail<wbr/>Track</span></a></li>
432
- <li><a href="MKTimeChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTime<wbr/>Changed<wbr/>Event</span></a></li>
433
- <li><a href="MKTimeRange.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTime<wbr/>Range</span></a></li>
434
- <li><a href="MKTimelineMarker.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTimeline<wbr/>Marker</span></a></li>
435
- <li><a href="MKTrackMetadata.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTrack<wbr/>Metadata</span></a></li>
436
- <li><a href="MKTweaksConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKTweaks<wbr/>Config</span></a></li>
437
- <li><a href="MKUserInteractionEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKUser<wbr/>Interaction<wbr/>Event</span></a></li>
438
- <li><a href="MKVSPPSessionIdEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVSPPSession<wbr/>Id<wbr/>Event</span></a></li>
439
- <li><a href="MKVTTProperties.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVTTProperties</span></a></li>
440
- <li><a href="MKVTTRegionProperties.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVTTRegion<wbr/>Properties</span></a></li>
441
- <li><a href="MKVideoAdaptationData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Adaptation<wbr/>Data</span></a></li>
442
- <li><a href="MKVideoAdaptationEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Adaptation<wbr/>Event</span></a></li>
443
- <li><a href="MKVideoDownloadQualityChangeEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Download<wbr/>Quality<wbr/>Change<wbr/>Event</span></a></li>
444
- <li><a href="MKVideoDownloadQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Download<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
445
- <li><a href="MKVideoPlaybackQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Playback<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
446
- <li><a href="MKVideoQuality.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Quality</span></a></li>
447
- <li><a href="MKVideoQualityChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Quality<wbr/>Changed<wbr/>Event</span></a></li>
448
- <li><a href="MKVideoQualityEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Quality<wbr/>Event</span></a></li>
449
- <li><a href="MKVideoSizeLimitationConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Size<wbr/>Limitation<wbr/>Config</span></a></li>
450
- <li><a href="MKVideoTrack.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVideo<wbr/>Track</span></a></li>
451
- <li><a href="MKViewModeChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKView<wbr/>Mode<wbr/>Changed<wbr/>Event</span></a></li>
452
- <li><a href="MKViewModeOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKView<wbr/>Mode<wbr/>Options</span></a></li>
453
- <li><a href="MKVolumeChangedEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKVolume<wbr/>Changed<wbr/>Event</span></a></li>
454
- <li><a href="MKWidevineModularDrmConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKWidevine<wbr/>Modular<wbr/>Drm<wbr/>Config</span></a></li>
455
- <li><a href="../types/MKBitrate.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>MKBitrate</span></a></li>
456
- <li><a href="../types/MKHeaders.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKHeaders</span></a></li>
457
- <li><a href="../types/MKHttpMethod.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKHttp<wbr/>Method</span></a></li>
458
- <li><a href="../types/MKRequestBody.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKRequest<wbr/>Body</span></a></li>
459
- <li><a href="../types/MKRequestQueryParams.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKRequest<wbr/>Query<wbr/>Params</span></a></li>
460
- <li><a href="../types/MKUserEngagement.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKUser<wbr/>Engagement</span></a></li>
461
- <li><a href="../types/MKWishAbrConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>MKWish<wbr/>Abr<wbr/>Config</span></a></li></ul></nav></div></div></div>
462
- <div class="overlay"></div></body></html>
68
+ </div><div class="tsd-comment tsd-typography"></div></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#certificateheaders" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>certificate<wbr/>Headers</span></a><a href="#certificateurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>certificateURL</span></a><a href="#getlicenseserverurl" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>get<wbr/>License<wbr/>Server<wbr/>Url</span></a><a href="#headers" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>headers</span></a><a href="#la_url" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>LA_<wbr/>URL</span></a><a href="#licenseresponsetype" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>license<wbr/>Response<wbr/>Type</span></a><a href="#maxcertificaterequestretries" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>Certificate<wbr/>Request<wbr/>Retries</span></a><a href="#maxlicenserequestretries" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>max<wbr/>License<wbr/>Request<wbr/>Retries</span></a><a href="#preparecertificate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Certificate</span></a><a href="#preparecontentid" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Content<wbr/>Id</span></a><a href="#preparelicense" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>License</span></a><a href="#preparelicenseasync" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>License<wbr/>Async</span></a><a href="#preparemessage" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>prepare<wbr/>Message</span></a><a href="#servercertificate" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>server<wbr/>Certificate</span></a><a href="#useuint16initdata" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>use<wbr/>Uint16<wbr/>Init<wbr/>Data</span></a><a href="#withcredentials" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>with<wbr/>Credentials</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">MKPlayer - v1.47.0</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>