We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad0926f commit 7bb395dCopy full SHA for 7bb395d
1 file changed
drm/src/mediakind/MediaKindDrmConfiguration.ts
@@ -0,0 +1,26 @@
1
+import type { DRMConfiguration } from 'react-native-theoplayer';
2
+
3
+/**
4
+ * The identifier of the MediaKind integration.
5
+ */
6
+export type MediaKindIntegrationID = 'customMediaKindDrm';
7
8
9
+ * Describes the configuration of the MediaKind DRM integration.
10
+ *
11
+ * ```
12
+ * const drmConfiguration = {
13
+ * integration : 'mediakind',
14
+ * fairplay: {
15
+ * certificateURL: 'yourMediaKindCertificateUrl',
16
+ * licenseAcquisitionURL: 'yourMediaKindLicenseAcquisitionURL'
17
+ * }
18
19
20
21
+export interface MediaKindDrmConfiguration extends DRMConfiguration {
22
+ /**
23
+ * The identifier of the DRM integration.
24
25
+ integration: MediaKindIntegrationID;
26
+}
0 commit comments