@ngxsplayer/ngx-smart-player-ssai-dai 0.1.0 → 0.2.1
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.
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* - read DAI cue points from the stream
|
|
6
|
-
* - coordinate tracking pings / UI overlays
|
|
7
|
-
*
|
|
8
|
-
* This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.
|
|
9
|
-
*/
|
|
10
|
-
class DaiSsaiPlugin {
|
|
11
|
-
id = 'ssai-dai';
|
|
12
|
-
async onEvent(_ctx, _ev) { }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* Generated bundle index. Do not edit.
|
|
17
|
-
*/
|
|
18
|
-
|
|
1
|
+
var DaiSsaiPlugin = class {
|
|
2
|
+
id = "ssai-dai";
|
|
3
|
+
async onEvent(_ctx, _ev) {}
|
|
4
|
+
};
|
|
19
5
|
export { DaiSsaiPlugin };
|
|
20
|
-
|
|
6
|
+
|
|
7
|
+
//# sourceMappingURL=ngxsplayer-ngx-smart-player-ssai-dai.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngxsplayer-ngx-smart-player-ssai-dai.mjs","sources":["../../../projects/ngx-smart-player-ssai-dai/src/lib/dai-ssai.plugin.ts"
|
|
1
|
+
{"version":3,"file":"ngxsplayer-ngx-smart-player-ssai-dai.mjs","names":[],"sources":["../../../projects/ngx-smart-player-ssai-dai/src/lib/dai-ssai.plugin.ts"],"sourcesContent":["import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';\n\n/**\n * Google DAI SSAI plugin (example)\n *\n * You typically:\n * - read DAI cue points from the stream\n * - coordinate tracking pings / UI overlays\n *\n * This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.\n */\nexport class DaiSsaiPlugin implements PlayerPlugin {\n id = 'ssai-dai';\n\n async onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void> {}\n}\n"],"mappings":"AAWA,IAAa,gBAAb,MAA0B;CACxB,KAAK;CAEL,MAAM,QAAQ,MAAqB,KAAgB,CAAkB;AACtE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngxsplayer/ngx-smart-player-ssai-dai",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "SSAI adapter example for Google DAI media markers and tracking.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
],
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/common": ">=17.
|
|
16
|
-
"@angular/core": ">=17.
|
|
15
|
+
"@angular/common": ">=17.1.0 <23.0.0",
|
|
16
|
+
"@angular/core": ">=17.1.0 <23.0.0",
|
|
17
17
|
"rxjs": ">=7.0.0 <8.0.0",
|
|
18
|
-
"@ngxsplayer/ngx-smart-player": "^0.1
|
|
19
|
-
"@ngxsp/core": "^0.1
|
|
18
|
+
"@ngxsplayer/ngx-smart-player": "^0.2.1",
|
|
19
|
+
"@ngxsp/core": "^0.2.1"
|
|
20
20
|
},
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"dependencies": {
|
|
@@ -28,14 +28,15 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"module": "fesm2022/ngxsplayer-ngx-smart-player-ssai-dai.mjs",
|
|
31
|
-
"typings": "
|
|
31
|
+
"typings": "types/ngxsplayer-ngx-smart-player-ssai-dai.d.ts",
|
|
32
32
|
"exports": {
|
|
33
33
|
"./package.json": {
|
|
34
34
|
"default": "./package.json"
|
|
35
35
|
},
|
|
36
36
|
".": {
|
|
37
|
-
"types": "./
|
|
37
|
+
"types": "./types/ngxsplayer-ngx-smart-player-ssai-dai.d.ts",
|
|
38
38
|
"default": "./fesm2022/ngxsplayer-ngx-smart-player-ssai-dai.mjs"
|
|
39
39
|
}
|
|
40
|
-
}
|
|
40
|
+
},
|
|
41
|
+
"type": "module"
|
|
41
42
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { PlayerContext, PlayerEvent, PlayerPlugin } from "@ngxsp/core";
|
|
3
2
|
/**
|
|
4
3
|
* Google DAI SSAI plugin (example)
|
|
5
4
|
*
|
|
@@ -9,9 +8,7 @@ import { PlayerPlugin, PlayerContext, PlayerEvent } from '@ngxsp/core';
|
|
|
9
8
|
*
|
|
10
9
|
* This is a skeleton; DAI SDK usage (if any) lives in your app or a higher-level integration.
|
|
11
10
|
*/
|
|
12
|
-
declare class DaiSsaiPlugin implements PlayerPlugin {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { DaiSsaiPlugin };
|
|
11
|
+
export declare class DaiSsaiPlugin implements PlayerPlugin {
|
|
12
|
+
id: string;
|
|
13
|
+
onEvent(_ctx: PlayerContext, _ev: PlayerEvent): Promise<void>;
|
|
14
|
+
}
|