@4players/odin-plugin-web 1.0.2 → 1.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/README.md +3 -1
- package/lib/plugin/index.d.ts +2 -1
- package/lib/plugin/index.js +1 -1
- package/lib/worker/shared.js +1 -1
- package/lib/worker/unshared.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
A backend plugin for the [@4players/odin](https://www.npmjs.com/package/@4players/odin) SDK package supporting web browsers.
|
|
8
8
|
|
|
9
|
+
[Online Documentation](https://docs.4players.io/voice/web)
|
|
10
|
+
|
|
9
11
|
## Troubleshooting
|
|
10
12
|
|
|
11
13
|
Contact us through the listed methods below to receive answers to your questions and learn more about ODIN.
|
|
@@ -16,7 +18,7 @@ Join our official Discord server to chat with us directly and become a part of t
|
|
|
16
18
|
|
|
17
19
|
[](https://4np.de/discord)
|
|
18
20
|
|
|
19
|
-
### Twitter
|
|
21
|
+
### X (former Twitter)
|
|
20
22
|
|
|
21
23
|
Have a quick question? Tweet us at [@ODIN4Players](https://twitter.com/ODIN4Players) and we’ll help you resolve any issues.
|
|
22
24
|
|
package/lib/plugin/index.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ export type AudioContextFactory = (sampleRate: number | undefined) => Promise<Au
|
|
|
15
15
|
export type DeviceInfo = {
|
|
16
16
|
name: string;
|
|
17
17
|
deviceId: string;
|
|
18
|
-
kind: "audioinput" | "audiooutput";
|
|
18
|
+
kind: "audioinput" | "audiooutput" | "track";
|
|
19
|
+
audioTrack?: MediaStreamTrack;
|
|
19
20
|
};
|
|
20
21
|
export interface WebDevice extends Backend.Device {
|
|
21
22
|
readonly device: DeviceInfo;
|