@glomex/integration-web-component 1.1415.0 → 1.1417.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.
- package/dist/index.d.ts +30 -15
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ export declare interface Consent {
|
|
|
136
136
|
* Selected source of the given content.
|
|
137
137
|
*/
|
|
138
138
|
export declare interface ContentSource {
|
|
139
|
-
id
|
|
139
|
+
id?: string;
|
|
140
140
|
mimetype: Mimetype;
|
|
141
141
|
src: string;
|
|
142
142
|
playbackMode: PlaybackMode;
|
|
@@ -172,6 +172,16 @@ declare interface ExperimentVariant {
|
|
|
172
172
|
contentOverride: Record<string, unknown>;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
export declare interface ExtendedVideoPlaybackQuality extends VideoPlaybackQuality {
|
|
176
|
+
bitrate: number;
|
|
177
|
+
liveLatency: number;
|
|
178
|
+
throughput: number;
|
|
179
|
+
bytes: number;
|
|
180
|
+
bandwidth: number;
|
|
181
|
+
width: number;
|
|
182
|
+
height: number;
|
|
183
|
+
}
|
|
184
|
+
|
|
175
185
|
export declare const EXTERNAL_PLAYER_NAME = "turbo-player";
|
|
176
186
|
|
|
177
187
|
/**
|
|
@@ -307,6 +317,10 @@ export declare interface ExtraContext {
|
|
|
307
317
|
* The version of the app. When it is a website, fill in the deployed version of the website.
|
|
308
318
|
*/
|
|
309
319
|
appVersion?: string;
|
|
320
|
+
/**
|
|
321
|
+
* The name of the app. When it is a website, fill in the name of the project.
|
|
322
|
+
*/
|
|
323
|
+
appName?: string;
|
|
310
324
|
userIds?: ExtraContextUserId[];
|
|
311
325
|
/**
|
|
312
326
|
* The bundle id of the app. Only required for iOS apps.
|
|
@@ -516,9 +530,21 @@ export declare class IntegrationElement extends HTMLElement implements Integrati
|
|
|
516
530
|
*/
|
|
517
531
|
get currentTime(): number;
|
|
518
532
|
/**
|
|
519
|
-
* Returns the current playback
|
|
520
|
-
*/
|
|
521
|
-
|
|
533
|
+
* Returns the current extended playback quality.
|
|
534
|
+
*/
|
|
535
|
+
getVideoPlaybackQuality(): {
|
|
536
|
+
droppedVideoFrames: number;
|
|
537
|
+
totalVideoFrames: number;
|
|
538
|
+
creationTime: number;
|
|
539
|
+
corruptedVideoFrames: number;
|
|
540
|
+
bitrate: number;
|
|
541
|
+
liveLatency: number;
|
|
542
|
+
throughput: number;
|
|
543
|
+
bytes: number;
|
|
544
|
+
bandwidth: number;
|
|
545
|
+
width: number;
|
|
546
|
+
height: number;
|
|
547
|
+
} | undefined;
|
|
522
548
|
/**
|
|
523
549
|
* Returns the current session ID.
|
|
524
550
|
*/
|
|
@@ -1596,17 +1622,6 @@ export declare enum PlaybackMode {
|
|
|
1596
1622
|
EMBED = "embed"
|
|
1597
1623
|
}
|
|
1598
1624
|
|
|
1599
|
-
declare interface PlayerStats {
|
|
1600
|
-
bitrate: number;
|
|
1601
|
-
latency: number;
|
|
1602
|
-
throughput: number;
|
|
1603
|
-
droppedFrames: number;
|
|
1604
|
-
width: number;
|
|
1605
|
-
height: number;
|
|
1606
|
-
bytes?: number;
|
|
1607
|
-
bandwidth?: number;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
1625
|
export declare enum PresentationMode {
|
|
1611
1626
|
HIDDEN = "hidden",
|
|
1612
1627
|
INLINE = "inline",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glomex/integration-web-component",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1417.0",
|
|
4
4
|
"description": "Web component and types to integrate the glomex player",
|
|
5
5
|
"documentation": "https://docs.glomex.com",
|
|
6
6
|
"homepage": "https://glomex.com",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"watch": "npm-run-all --parallel \"build:* -- --watch\""
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@glomex/integration": "^1.
|
|
34
|
+
"@glomex/integration": "^1.1417.0",
|
|
35
35
|
"@microsoft/api-extractor": "^7.52.13",
|
|
36
36
|
"@rslib/core": "^0.13.3"
|
|
37
37
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"license": "MIT",
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "0d2cbc8aff882171f6cc6eca5aea5ea44b369d8f"
|
|
43
43
|
}
|