@snapcall/stream-ui 1.20.1 → 1.21.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/stream-ui.esm.js +80 -926
- package/dist/stream-ui.js +80 -926
- package/dist/stream-ui.umd.js +29 -29
- package/dist/types.d.ts +4 -1
- package/package.json +5 -2
package/dist/types.d.ts
CHANGED
|
@@ -375,6 +375,7 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
375
375
|
token: string;
|
|
376
376
|
};
|
|
377
377
|
peerId: PeerId;
|
|
378
|
+
clientId: string;
|
|
378
379
|
profile: Profile;
|
|
379
380
|
protooTransport?: protooClient.WebSocketTransport;
|
|
380
381
|
protoo?: protooClient.Peer;
|
|
@@ -449,7 +450,8 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
449
450
|
zoomVideo(): Promise<void>;
|
|
450
451
|
unzoomVideo(): Promise<void>;
|
|
451
452
|
disableVideo(): Promise<void>;
|
|
452
|
-
enableScreenshare(
|
|
453
|
+
enableScreenshare(options?: {
|
|
454
|
+
mediaStream?: MediaStream;
|
|
453
455
|
audioTransportOption: 'mix' | 'none' | 'classic';
|
|
454
456
|
}): Promise<void>;
|
|
455
457
|
disableScreenshare(): Promise<void>;
|
|
@@ -546,6 +548,7 @@ interface StreamUIMethods {
|
|
|
546
548
|
init: (options: StreamUIInitOptions) => void;
|
|
547
549
|
joinRoom: (token: string, options: StreamUIInitOptions) => Promise<void>;
|
|
548
550
|
setAgentIdentity: typeof streamerClient.setAgentIdentity;
|
|
551
|
+
enableScreenshare: typeof streamerClient.enableScreenshare;
|
|
549
552
|
setExtraSettingsOptions: (extraOptions: SettingsCategory[]) => void;
|
|
550
553
|
sendNotification: typeof sendNotification;
|
|
551
554
|
startRecord: typeof streamerClient.startRecord;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snapcall/stream-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.21.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"main": "dist/stream-ui.js",
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
"build:s3": "parcel build --no-source-maps --target umd",
|
|
32
32
|
"typecheck": "tsc --noEmit",
|
|
33
33
|
"lint": "eslint src streamerClient --ext .ts,.tsx",
|
|
34
|
-
"prettier": "prettier --check ."
|
|
34
|
+
"prettier": "prettier --check .",
|
|
35
|
+
"localazy:upload": "localazy upload",
|
|
36
|
+
"localazy:download": "localazy download"
|
|
35
37
|
},
|
|
36
38
|
"keywords": [],
|
|
37
39
|
"author": "Seampl",
|
|
@@ -51,6 +53,7 @@
|
|
|
51
53
|
"styled-components": "^5.3.3"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
56
|
+
"@localazy/cli": "^1.7.5",
|
|
54
57
|
"@parcel/packager-ts": "^2.11.0",
|
|
55
58
|
"@parcel/transformer-inline-string": "^2.11.0",
|
|
56
59
|
"@parcel/transformer-typescript-types": "^2.11.0",
|