@unityevolv/ofiskit-realtime-client 0.1.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/LICENSE +661 -0
- package/README.md +36 -0
- package/dist/client.d.ts +190 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +326 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +55 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/dist/office-state.d.ts +143 -0
- package/dist/office-state.d.ts.map +1 -0
- package/dist/office-state.js +228 -0
- package/dist/office-state.js.map +1 -0
- package/dist/rtc/adapter.d.ts +238 -0
- package/dist/rtc/adapter.d.ts.map +1 -0
- package/dist/rtc/adapter.js +80 -0
- package/dist/rtc/adapter.js.map +1 -0
- package/dist/rtc/devices.d.ts +80 -0
- package/dist/rtc/devices.d.ts.map +1 -0
- package/dist/rtc/devices.js +107 -0
- package/dist/rtc/devices.js.map +1 -0
- package/dist/rtc/mesh.d.ts +13 -0
- package/dist/rtc/mesh.d.ts.map +1 -0
- package/dist/rtc/mesh.js +756 -0
- package/dist/rtc/mesh.js.map +1 -0
- package/dist/rtc/screen.d.ts +104 -0
- package/dist/rtc/screen.d.ts.map +1 -0
- package/dist/rtc/screen.js +103 -0
- package/dist/rtc/screen.js.map +1 -0
- package/package.json +21 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh.js","sourceRoot":"","sources":["../../src/rtc/mesh.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,WAAW,EACX,QAAQ,EACR,WAAW,GAMZ,MAAM,cAAc,CAAA;AACrB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GAEf,MAAM,aAAa,CAAA;AAwDpB,MAAM,UAAU,WAAW,CAAC,SAAoB;IAC9C,MAAM,QAAQ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,KAAK,eAAe;YAClB,OAAO,gCAAgC,MAAM,oDAAoD,MAAM,kBAAkB,CAAA;QAC3H,KAAK,kBAAkB,CAAC;QACxB,KAAK,iBAAiB;YACpB,OAAO,6BAA6B,MAAM,0EAA0E,CAAA;QACtH,KAAK,eAAe,CAAC;QACrB,KAAK,sBAAsB;YACzB,OAAO,MAAM,MAAM,0CAA0C,CAAA;QAC/D,KAAK,sBAAsB;YACzB,OAAO,QAAQ,MAAM,4DAA4D,CAAA;QACnF;YACE,OAAO,OAAO,MAAM,wBAAwB,CAAA;IAChD,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Choosing what to share, including where the browser cannot ask.
|
|
3
|
+
*
|
|
4
|
+
* On the web there is nothing to build: `getDisplayMedia` opens the browser's own
|
|
5
|
+
* picker, which is the one people already know and the only one that can offer a
|
|
6
|
+
* tab. On Electron that picker does not exist — the desktop capture API hands the
|
|
7
|
+
* app a list of screens and windows and expects the app to draw it — so the host
|
|
8
|
+
* supplies the list and the shared UI draws it the same way everywhere.
|
|
9
|
+
*
|
|
10
|
+
* Which is why this is an interface and not an implementation: ofiskit has no
|
|
11
|
+
* desktop app, and nothing here imports Electron or knows it exists. A host that
|
|
12
|
+
* has one passes a provider in; a browser passes nothing and gets the browser's
|
|
13
|
+
* picker.
|
|
14
|
+
*/
|
|
15
|
+
/** What to share, and how. Everything is optional; nothing chooses for the person. */
|
|
16
|
+
export interface ShareOptions {
|
|
17
|
+
/**
|
|
18
|
+
* A source from a host-supplied picker.
|
|
19
|
+
*
|
|
20
|
+
* Absent means the browser asks, which is the web path and the better one where
|
|
21
|
+
* it exists. Present means the person has already chosen from a list the host
|
|
22
|
+
* provided, so nothing further should be asked.
|
|
23
|
+
*/
|
|
24
|
+
sourceId?: string;
|
|
25
|
+
}
|
|
26
|
+
/** One thing that can be shared, as a host's picker describes it. */
|
|
27
|
+
export interface ScreenSource {
|
|
28
|
+
/** Opaque, and passed back as `ShareOptions.sourceId` untouched. */
|
|
29
|
+
id: string;
|
|
30
|
+
/** A window title or a display name. Shown to the person, so it is theirs. */
|
|
31
|
+
name: string;
|
|
32
|
+
kind: 'screen' | 'window';
|
|
33
|
+
/**
|
|
34
|
+
* A still of the source, as a data URL.
|
|
35
|
+
*
|
|
36
|
+
* A list of window titles is close to useless — half of them are the same word
|
|
37
|
+
* repeated — and a thumbnail is how somebody recognises the thing they meant.
|
|
38
|
+
* Optional because generating them costs the host something.
|
|
39
|
+
*/
|
|
40
|
+
thumbnailUrl?: string;
|
|
41
|
+
/**
|
|
42
|
+
* This is our own window.
|
|
43
|
+
*
|
|
44
|
+
* Sharing it produces an infinite mirror and is never what anybody meant, so it
|
|
45
|
+
* is never offered. The host marks it because the host is the only thing that
|
|
46
|
+
* knows its own window id; `usableSources` is what makes the marking count.
|
|
47
|
+
*/
|
|
48
|
+
self?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Where a list of shareable things comes from, on a platform that has to ask.
|
|
52
|
+
*
|
|
53
|
+
* One method, called when the picker opens rather than held: thumbnails go stale
|
|
54
|
+
* the moment somebody moves a window, and a cached list offers a window that has
|
|
55
|
+
* since been closed.
|
|
56
|
+
*/
|
|
57
|
+
export interface ScreenSourceProvider {
|
|
58
|
+
list(): Promise<ScreenSource[]>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* The sources worth offering, in the order worth offering them.
|
|
62
|
+
*
|
|
63
|
+
* Our own window is dropped, whole screens come before windows, and everything
|
|
64
|
+
* else keeps the host's order. Pure and separate from the picker that draws it,
|
|
65
|
+
* because "never offer the app's own window" is a rule that has to be true rather
|
|
66
|
+
* than drawn correctly — a mirror of the sharing app is the one screen share that
|
|
67
|
+
* is guaranteed to be useless, and it looks exactly like a working one until
|
|
68
|
+
* somebody scrolls.
|
|
69
|
+
*/
|
|
70
|
+
export declare function usableSources(sources: readonly ScreenSource[]): ScreenSource[];
|
|
71
|
+
/**
|
|
72
|
+
* The constraints that capture one host-chosen source.
|
|
73
|
+
*
|
|
74
|
+
* Chromium's desktop capture takes a source id through a non-standard `mandatory`
|
|
75
|
+
* block rather than through `getDisplayMedia`, and this is the whole of the
|
|
76
|
+
* platform-specific knowledge involved — kept pure so the shape can be tested
|
|
77
|
+
* without a browser, and kept here rather than in the mesh so that the adapter has
|
|
78
|
+
* nothing platform-specific in it.
|
|
79
|
+
*/
|
|
80
|
+
export declare function desktopConstraints(sourceId: string): MediaStreamConstraints;
|
|
81
|
+
/**
|
|
82
|
+
* Whether a failed capture was somebody changing their mind.
|
|
83
|
+
*
|
|
84
|
+
* Closing the picker is the commonest outcome of pressing share and is not a
|
|
85
|
+
* failure: nothing should be said about it, because the person knows exactly what
|
|
86
|
+
* they just did. The browser reports it as a denied permission, which is also how
|
|
87
|
+
* it reports an operating system that is blocking screen recording outright — and
|
|
88
|
+
* that one must be said, because otherwise the button looks broken.
|
|
89
|
+
*
|
|
90
|
+
* The message is the only thing that tells the two apart, so it is what this reads.
|
|
91
|
+
* Getting it wrong in the safe direction means one unnecessary sentence; getting it
|
|
92
|
+
* wrong the other way means a person pressing a button that silently does nothing.
|
|
93
|
+
*/
|
|
94
|
+
export declare function shareCancelled(cause: unknown): boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Turn a failed screen capture into something worth reading.
|
|
97
|
+
*
|
|
98
|
+
* Same reasoning as the microphone's version: the fixes are completely different
|
|
99
|
+
* and the browser's own messages explain none of them. Blocked at the operating
|
|
100
|
+
* system level is the one people cannot solve by trying again, and it is invisible
|
|
101
|
+
* from inside the browser — so it is named.
|
|
102
|
+
*/
|
|
103
|
+
export declare function describeShareError(cause: unknown): string;
|
|
104
|
+
//# sourceMappingURL=screen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen.d.ts","sourceRoot":"","sources":["../../src/rtc/screen.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,sFAAsF;AACtF,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,qEAAqE;AACrE,MAAM,WAAW,YAAY;IAC3B,oEAAoE;IACpE,EAAE,EAAE,MAAM,CAAA;IACV,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,QAAQ,CAAA;IACzB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAED;;;;;;GAMG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,SAAS,YAAY,EAAE,GAAG,YAAY,EAAE,CAS9E;AAED;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,sBAAsB,CAa3E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAGtD;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAmBzD"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Choosing what to share, including where the browser cannot ask.
|
|
3
|
+
*
|
|
4
|
+
* On the web there is nothing to build: `getDisplayMedia` opens the browser's own
|
|
5
|
+
* picker, which is the one people already know and the only one that can offer a
|
|
6
|
+
* tab. On Electron that picker does not exist — the desktop capture API hands the
|
|
7
|
+
* app a list of screens and windows and expects the app to draw it — so the host
|
|
8
|
+
* supplies the list and the shared UI draws it the same way everywhere.
|
|
9
|
+
*
|
|
10
|
+
* Which is why this is an interface and not an implementation: ofiskit has no
|
|
11
|
+
* desktop app, and nothing here imports Electron or knows it exists. A host that
|
|
12
|
+
* has one passes a provider in; a browser passes nothing and gets the browser's
|
|
13
|
+
* picker.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* The sources worth offering, in the order worth offering them.
|
|
17
|
+
*
|
|
18
|
+
* Our own window is dropped, whole screens come before windows, and everything
|
|
19
|
+
* else keeps the host's order. Pure and separate from the picker that draws it,
|
|
20
|
+
* because "never offer the app's own window" is a rule that has to be true rather
|
|
21
|
+
* than drawn correctly — a mirror of the sharing app is the one screen share that
|
|
22
|
+
* is guaranteed to be useless, and it looks exactly like a working one until
|
|
23
|
+
* somebody scrolls.
|
|
24
|
+
*/
|
|
25
|
+
export function usableSources(sources) {
|
|
26
|
+
return sources
|
|
27
|
+
.filter((source) => source.self !== true)
|
|
28
|
+
.map((source, index) => ({ source, index }))
|
|
29
|
+
.sort((a, b) => {
|
|
30
|
+
if (a.source.kind !== b.source.kind)
|
|
31
|
+
return a.source.kind === 'screen' ? -1 : 1;
|
|
32
|
+
return a.index - b.index;
|
|
33
|
+
})
|
|
34
|
+
.map((one) => one.source);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The constraints that capture one host-chosen source.
|
|
38
|
+
*
|
|
39
|
+
* Chromium's desktop capture takes a source id through a non-standard `mandatory`
|
|
40
|
+
* block rather than through `getDisplayMedia`, and this is the whole of the
|
|
41
|
+
* platform-specific knowledge involved — kept pure so the shape can be tested
|
|
42
|
+
* without a browser, and kept here rather than in the mesh so that the adapter has
|
|
43
|
+
* nothing platform-specific in it.
|
|
44
|
+
*/
|
|
45
|
+
export function desktopConstraints(sourceId) {
|
|
46
|
+
/*
|
|
47
|
+
* Cast rather than declared, and through `unknown` rather than through `any`:
|
|
48
|
+
* `mandatory` is not in the DOM's constraint types because it is not in the
|
|
49
|
+
* standard — it is how Chromium, and therefore Electron, names a desktopCapturer
|
|
50
|
+
* source. Widening the DOM types to admit it would let a typo through anywhere
|
|
51
|
+
* constraints are built, so the cast stays in the one function that needs it.
|
|
52
|
+
*/
|
|
53
|
+
const video = {
|
|
54
|
+
mandatory: { chromeMediaSource: 'desktop', chromeMediaSourceId: sourceId },
|
|
55
|
+
};
|
|
56
|
+
return { audio: false, video };
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Whether a failed capture was somebody changing their mind.
|
|
60
|
+
*
|
|
61
|
+
* Closing the picker is the commonest outcome of pressing share and is not a
|
|
62
|
+
* failure: nothing should be said about it, because the person knows exactly what
|
|
63
|
+
* they just did. The browser reports it as a denied permission, which is also how
|
|
64
|
+
* it reports an operating system that is blocking screen recording outright — and
|
|
65
|
+
* that one must be said, because otherwise the button looks broken.
|
|
66
|
+
*
|
|
67
|
+
* The message is the only thing that tells the two apart, so it is what this reads.
|
|
68
|
+
* Getting it wrong in the safe direction means one unnecessary sentence; getting it
|
|
69
|
+
* wrong the other way means a person pressing a button that silently does nothing.
|
|
70
|
+
*/
|
|
71
|
+
export function shareCancelled(cause) {
|
|
72
|
+
if (!(cause instanceof Error) || cause.name !== 'NotAllowedError')
|
|
73
|
+
return false;
|
|
74
|
+
return !/system/i.test(cause.message);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Turn a failed screen capture into something worth reading.
|
|
78
|
+
*
|
|
79
|
+
* Same reasoning as the microphone's version: the fixes are completely different
|
|
80
|
+
* and the browser's own messages explain none of them. Blocked at the operating
|
|
81
|
+
* system level is the one people cannot solve by trying again, and it is invisible
|
|
82
|
+
* from inside the browser — so it is named.
|
|
83
|
+
*/
|
|
84
|
+
export function describeShareError(cause) {
|
|
85
|
+
const name = cause instanceof Error ? cause.name : '';
|
|
86
|
+
switch (name) {
|
|
87
|
+
case 'NotAllowedError':
|
|
88
|
+
case 'SecurityError':
|
|
89
|
+
return 'Your computer is blocking screen recording. Allow it for this app in your system settings, then try again.';
|
|
90
|
+
case 'NotFoundError':
|
|
91
|
+
return 'There was nothing available to share.';
|
|
92
|
+
case 'NotReadableError':
|
|
93
|
+
case 'TrackStartError':
|
|
94
|
+
return 'That screen could not be captured. Try sharing a window instead.';
|
|
95
|
+
case 'AbortError':
|
|
96
|
+
return 'The share stopped before it started. Try again.';
|
|
97
|
+
case 'NotSupportedError':
|
|
98
|
+
return 'This browser cannot share a screen. Try Chrome, Edge or Firefox on a computer.';
|
|
99
|
+
default:
|
|
100
|
+
return 'Your screen could not be shared.';
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
//# sourceMappingURL=screen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"screen.js","sourceRoot":"","sources":["../../src/rtc/screen.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAkDH;;;;;;;;;GASG;AACH,MAAM,UAAU,aAAa,CAAC,OAAgC;IAC5D,OAAO,OAAO;SACX,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC;SACxC,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;SAC3C,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACb,IAAI,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI;YAAE,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAC/E,OAAO,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,KAAK,CAAA;IAC1B,CAAC,CAAC;SACD,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAA;AAC7B,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,kBAAkB,CAAC,QAAgB;IACjD;;;;;;OAMG;IACH,MAAM,KAAK,GAAG;QACZ,SAAS,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,mBAAmB,EAAE,QAAQ,EAAE;KACvC,CAAA;IAErC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA;AAChC,CAAC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,UAAU,cAAc,CAAC,KAAc;IAC3C,IAAI,CAAC,CAAC,KAAK,YAAY,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,iBAAiB;QAAE,OAAO,KAAK,CAAA;IAC/E,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AACvC,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,kBAAkB,CAAC,KAAc;IAC/C,MAAM,IAAI,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAA;IAErD,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,iBAAiB,CAAC;QACvB,KAAK,eAAe;YAClB,OAAO,4GAA4G,CAAA;QACrH,KAAK,eAAe;YAClB,OAAO,uCAAuC,CAAA;QAChD,KAAK,kBAAkB,CAAC;QACxB,KAAK,iBAAiB;YACpB,OAAO,kEAAkE,CAAA;QAC3E,KAAK,YAAY;YACf,OAAO,iDAAiD,CAAA;QAC1D,KAAK,mBAAmB;YACtB,OAAO,gFAAgF,CAAA;QACzF;YACE,OAAO,kCAAkC,CAAA;IAC7C,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@unityevolv/ofiskit-realtime-client",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The office state on the client: snapshot, diffs, resync, and the RTC client adapter interface with the built-in peer-to-peer implementation. No DOM, so React Native can use it too.",
|
|
5
|
+
"license": "AGPL-3.0-only",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } },
|
|
10
|
+
"files": ["dist"],
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"publishConfig": { "access": "public" },
|
|
13
|
+
"repository": { "type": "git", "url": "git+https://github.com/UnityEvolv/ofis-kit.git", "directory": "packages/realtime-client" },
|
|
14
|
+
"scripts": { "build": "tsc -p tsconfig.json", "typecheck": "tsc -p tsconfig.json --noEmit" },
|
|
15
|
+
"dependencies": {
|
|
16
|
+
"@unityevolv/ofiskit-presence-store": "0.1.0",
|
|
17
|
+
"@unityevolv/ofiskit-realtime-core": "0.1.0",
|
|
18
|
+
"@unityevolv/ofiskit-template": "0.1.0",
|
|
19
|
+
"socket.io-client": "^4.8.1"
|
|
20
|
+
}
|
|
21
|
+
}
|