@voltkit-rtc/client 0.3.0 → 0.4.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/CHANGELOG.md +95 -0
- package/README.md +125 -14
- package/dist/cjs/chat.d.ts +2 -0
- package/dist/cjs/chat.d.ts.map +1 -1
- package/dist/cjs/chat.js +23 -4
- package/dist/cjs/chat.js.map +1 -1
- package/dist/cjs/device.d.ts +85 -0
- package/dist/cjs/device.d.ts.map +1 -0
- package/dist/cjs/device.js +134 -0
- package/dist/cjs/device.js.map +1 -0
- package/dist/cjs/index.d.ts +153 -2
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +506 -36
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/quality.d.ts +35 -6
- package/dist/cjs/quality.d.ts.map +1 -1
- package/dist/cjs/quality.js +51 -19
- package/dist/cjs/quality.js.map +1 -1
- package/dist/cjs/stats.d.ts +151 -0
- package/dist/cjs/stats.d.ts.map +1 -0
- package/dist/cjs/stats.js +243 -0
- package/dist/cjs/stats.js.map +1 -0
- package/dist/esm/chat.d.ts +2 -0
- package/dist/esm/chat.d.ts.map +1 -1
- package/dist/esm/chat.js +23 -4
- package/dist/esm/chat.js.map +1 -1
- package/dist/esm/device.d.ts +85 -0
- package/dist/esm/device.d.ts.map +1 -0
- package/dist/esm/device.js +122 -0
- package/dist/esm/device.js.map +1 -0
- package/dist/esm/index.d.ts +153 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +507 -37
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/quality.d.ts +35 -6
- package/dist/esm/quality.d.ts.map +1 -1
- package/dist/esm/quality.js +49 -19
- package/dist/esm/quality.js.map +1 -1
- package/dist/esm/stats.d.ts +151 -0
- package/dist/esm/stats.d.ts.map +1 -0
- package/dist/esm/stats.js +232 -0
- package/dist/esm/stats.js.map +1 -0
- package/package.json +1 -1
- package/src/chat.ts +21 -4
- package/src/device.ts +168 -0
- package/src/index.ts +582 -42
- package/src/quality.ts +54 -19
- package/src/stats.ts +328 -0
package/dist/esm/index.d.ts
CHANGED
|
@@ -8,15 +8,19 @@
|
|
|
8
8
|
import { type types as ms } from 'mediasoup-client';
|
|
9
9
|
type RtpCapabilities = ms.RtpCapabilities;
|
|
10
10
|
import type { ChatEvents, ChatMessage, ChatState, SendMessageOptions } from './chat.js';
|
|
11
|
+
import { type CodecPreference } from './device.js';
|
|
11
12
|
import { type MusicInput, type MusicOptions, type TrackSource } from './music.js';
|
|
12
|
-
import { type VideoPolicy, type VideoQuality } from './quality.js';
|
|
13
|
+
import { type LayerCount, type VideoPolicy, type VideoQuality } from './quality.js';
|
|
14
|
+
import { type VideoLimitedEvent, type VideoReceiveStats, type VideoSendStats } from './stats.js';
|
|
13
15
|
export { BroadcastPublisher, WhipError, whipEnd, whipOffer } from './broadcast.js';
|
|
14
16
|
export { AudioMixer, MusicSource } from './music.js';
|
|
15
17
|
export type { MusicInput, MusicOptions, TrackSource } from './music.js';
|
|
16
18
|
export type { BroadcastEvents, BroadcastStartOptions, BroadcastState } from './broadcast.js';
|
|
17
19
|
export { ChatClient, ChatRpcError } from './chat.js';
|
|
18
20
|
export { allowedQuality, layerBitrate, videoEncodings, VIDEO_QUALITIES } from './quality.js';
|
|
19
|
-
export type { VideoEncoding, VideoPolicy, VideoQuality } from './quality.js';
|
|
21
|
+
export type { LayerCount, VideoEncoding, VideoPolicy, VideoQuality } from './quality.js';
|
|
22
|
+
export type { CodecPreference } from './device.js';
|
|
23
|
+
export type { VideoLayerStats, VideoLimitedEvent, VideoLimitReason, VideoReceiveStats, VideoSendStats } from './stats.js';
|
|
20
24
|
export type { ChatClientEvents, ChatEvents, ChatJoinResult, ChatMessage, ChatState, SendMessageOptions, } from './chat.js';
|
|
21
25
|
export type Role = 'host' | 'cohost' | 'moderator' | 'viewer';
|
|
22
26
|
/** Sent when the account behind a session can no longer be used. */
|
|
@@ -55,6 +59,34 @@ export interface PublishOptions {
|
|
|
55
59
|
* higher, and to the camera's own size if that is smaller.
|
|
56
60
|
*/
|
|
57
61
|
quality?: VideoQuality;
|
|
62
|
+
/**
|
|
63
|
+
* The most simulcast layers to send: 1, 2 or 3. Defaults to 2 on phones and
|
|
64
|
+
* tablets and 3 elsewhere. Each layer is a separate encode. When a phone is
|
|
65
|
+
* too busy, the browser shrinks the picture and then sends fewer layers,
|
|
66
|
+
* dropping the top one: from three, viewers were left with a quarter of the
|
|
67
|
+
* picture; from two, the full picture survives every step down to 480×270.
|
|
68
|
+
* Never more than the picture allows: 3 from 960×540 up, 2 from 480×270,
|
|
69
|
+
* else 1. Two layers are half and full size. One is full size only, and
|
|
70
|
+
* every viewer then gets the same stream, whatever their connection.
|
|
71
|
+
*/
|
|
72
|
+
layers?: LayerCount;
|
|
73
|
+
/**
|
|
74
|
+
* The video codec. `'auto'` (the default) sends H.264 on phones and tablets
|
|
75
|
+
* that encode it in hardware and VP8 everywhere else. `'h264'` and `'vp8'`
|
|
76
|
+
* force one; a forced H.264 the browser cannot send falls back to VP8 and
|
|
77
|
+
* fires `error`. A viewer whose browser cannot decode the codec cannot
|
|
78
|
+
* watch, so force VP8 if your audience uses such browsers.
|
|
79
|
+
*/
|
|
80
|
+
codec?: CodecPreference;
|
|
81
|
+
/**
|
|
82
|
+
* What the encoder gives up first when the device cannot keep up:
|
|
83
|
+
* `'maintain-resolution'` lowers the frame rate, `'maintain-framerate'` the
|
|
84
|
+
* picture size, `'balanced'` some of each. Unset leaves the browser's
|
|
85
|
+
* default. Chrome also takes it from the track's `contentHint`: `'detail'`
|
|
86
|
+
* keeps resolution, `'motion'` keeps frame rate. Browsers that do not
|
|
87
|
+
* support it ignore it.
|
|
88
|
+
*/
|
|
89
|
+
degradationPreference?: 'maintain-resolution' | 'maintain-framerate' | 'balanced';
|
|
58
90
|
}
|
|
59
91
|
export interface SlotClaim {
|
|
60
92
|
key: string;
|
|
@@ -158,6 +190,15 @@ export interface ClientEvents extends ChatEvents {
|
|
|
158
190
|
* account is topped up first -- tell the user, and stop asking them to wait.
|
|
159
191
|
*/
|
|
160
192
|
usageLimit: (e: UsageLimitNotice) => void;
|
|
193
|
+
/**
|
|
194
|
+
* Your camera video is being held back by this device (`cpu`: too busy to
|
|
195
|
+
* encode it), by the upload (`bandwidth`), or by something else (`other`);
|
|
196
|
+
* or that has cleared (`none`). Fires when the reason changes and has held
|
|
197
|
+
* for about 4 s, so brief spikes stay quiet; never `none` first. Tell the
|
|
198
|
+
* publisher: "your device is busy" or "your connection is slow". Checked
|
|
199
|
+
* every 2 s, only while publishing a camera and someone listens.
|
|
200
|
+
*/
|
|
201
|
+
videoLimited: (e: VideoLimitedEvent) => void;
|
|
161
202
|
}
|
|
162
203
|
/** An error returned by the server, carrying its machine-readable code. */
|
|
163
204
|
export declare class RpcError extends Error {
|
|
@@ -188,13 +229,32 @@ export declare class StreamClient {
|
|
|
188
229
|
private musicProducerId;
|
|
189
230
|
/** What each remote producer carries, so a pause can say "music" rather than just "audio". */
|
|
190
231
|
private readonly remoteSources;
|
|
232
|
+
/**
|
|
233
|
+
* The layers asked for each remote video, by producerId. A reconnect
|
|
234
|
+
* consumes everything again, and the new consumer would otherwise start at
|
|
235
|
+
* the full picture.
|
|
236
|
+
*/
|
|
237
|
+
private readonly preferredLayers;
|
|
191
238
|
private closedByUs;
|
|
192
239
|
private reconnecting;
|
|
193
240
|
private reconnectAttempt;
|
|
241
|
+
/** Set once a connect() has joined and set up. Only such a session is reconnected. */
|
|
242
|
+
private joinedOnce;
|
|
243
|
+
/** The camera producer's layers, to tell whether a new track fits them. */
|
|
244
|
+
private cameraEncodings;
|
|
245
|
+
private cameraQueue;
|
|
246
|
+
private publishGeneration;
|
|
247
|
+
private codecFallbackLogged;
|
|
248
|
+
private readonly sendStatsBaseline;
|
|
249
|
+
private readonly recvStatsBaseline;
|
|
250
|
+
private readonly limitWatch;
|
|
194
251
|
constructor(wsUrl: string, token: string);
|
|
195
252
|
on<K extends keyof ClientEvents>(event: K, fn: ClientEvents[K]): () => void;
|
|
253
|
+
private listenerCount;
|
|
196
254
|
private emit;
|
|
197
255
|
connect(): Promise<JoinResult>;
|
|
256
|
+
/** A new mediasoup Device for each join. Its own method so tests, which have no WebRTC, can stand one in. */
|
|
257
|
+
private createDevice;
|
|
198
258
|
private openSocket;
|
|
199
259
|
private detachSocket;
|
|
200
260
|
/**
|
|
@@ -223,6 +283,9 @@ export declare class StreamClient {
|
|
|
223
283
|
*
|
|
224
284
|
* `options.quality` picks 1080p, 720p or 480p (see `videoPolicy` for what
|
|
225
285
|
* the project allows). Capture at least that size for the full picture.
|
|
286
|
+
* `options.layers`, `codec` and `degradationPreference` tune how the video
|
|
287
|
+
* is encoded; the defaults suit both phones and computers. The options are
|
|
288
|
+
* kept for a reconnect's republish.
|
|
226
289
|
*/
|
|
227
290
|
publish(stream: MediaStream, constraints?: MediaStreamConstraints, options?: PublishOptions): Promise<void>;
|
|
228
291
|
/** What this project may publish. Known once joined; 720p before that. */
|
|
@@ -236,7 +299,95 @@ export declare class StreamClient {
|
|
|
236
299
|
* that size (for example with `track.applyConstraints`) first.
|
|
237
300
|
*/
|
|
238
301
|
setVideoQuality(quality: VideoQuality): Promise<VideoQuality>;
|
|
302
|
+
/**
|
|
303
|
+
* Send a different video track from now on: a canvas with effects drawn on
|
|
304
|
+
* it, the raw camera again, another camera. When the new track needs the
|
|
305
|
+
* same layers as the current one (the same size, or another size the
|
|
306
|
+
* project's quality scales alike), viewers see no pause, and the layers
|
|
307
|
+
* take the new picture's bitrates. Otherwise the camera producer is
|
|
308
|
+
* replaced, as `setVideoQuality` does. Either way a paused camera stays
|
|
309
|
+
* paused.
|
|
310
|
+
*
|
|
311
|
+
* Your own stream is left as it is: the client keeps a stream of its own
|
|
312
|
+
* (`local`, announced by `localStreamChanged`) with the new track and your
|
|
313
|
+
* microphone, and a reconnect republishes that. The track you replaced is
|
|
314
|
+
* not stopped; it is yours again, switched back on if pausing the camera
|
|
315
|
+
* had switched it off. Rejects when no camera is being published.
|
|
316
|
+
*/
|
|
317
|
+
replaceVideoTrack(track: MediaStreamTrack): Promise<void>;
|
|
318
|
+
/**
|
|
319
|
+
* Give a camera producer whose track was swapped in place the bitrates of
|
|
320
|
+
* its new picture. The layout matched, but a bigger picture at the same
|
|
321
|
+
* scales (a 1280×720 canvas for a 960×540 camera) would otherwise stay
|
|
322
|
+
* capped at the smaller one's. Best effort: a browser that refuses keeps
|
|
323
|
+
* the old caps.
|
|
324
|
+
*/
|
|
325
|
+
private applyLayerBitrates;
|
|
326
|
+
/**
|
|
327
|
+
* What your camera video is sending now, layer by layer, or null when no
|
|
328
|
+
* camera is being published. The top-level fields describe the biggest
|
|
329
|
+
* layer going out. `qualityLimitation` says why it is less than asked:
|
|
330
|
+
* `cpu` is this device, `bandwidth` the upload, `none` neither (then check
|
|
331
|
+
* the camera and the light). Bitrates are averaged since the previous call,
|
|
332
|
+
* so call it every second or two; the first call reports 0.
|
|
333
|
+
*/
|
|
334
|
+
getVideoStats(): Promise<VideoSendStats | null>;
|
|
335
|
+
/**
|
|
336
|
+
* What this client receives of a remote video (by its `producerId`, from
|
|
337
|
+
* the `track` event), or null when it is not receiving that video. Bitrates
|
|
338
|
+
* are averaged since the previous call for it; the first call reports 0.
|
|
339
|
+
*/
|
|
340
|
+
getReceiveStats(producerId: string): Promise<VideoReceiveStats | null>;
|
|
341
|
+
/**
|
|
342
|
+
* Receive a smaller copy of someone's video (by its `producerId`, from the
|
|
343
|
+
* `track` event), for a tile that does not need the full picture. Spatial
|
|
344
|
+
* layer 0 is the smallest copy the publisher sends: a computer sends three
|
|
345
|
+
* (at 720p 320×180, 640×360 and 1280×720), a phone two (640×360 and
|
|
346
|
+
* 1280×720), and a layer above the biggest means the biggest. Leave
|
|
347
|
+
* `temporalLayer` out to keep the full frame rate. It is the most this
|
|
348
|
+
* client is sent: a connection that cannot carry it still gets less. The
|
|
349
|
+
* choice is kept across reconnects and forgotten when the track ends.
|
|
350
|
+
* Rejects for a producer whose video this client is not receiving.
|
|
351
|
+
*/
|
|
352
|
+
setPreferredLayers(producerId: string, spatialLayer: number, temporalLayer?: number): Promise<void>;
|
|
353
|
+
private collectVideoStats;
|
|
354
|
+
private cameraProducer;
|
|
355
|
+
private cameraTask;
|
|
356
|
+
/** Swap the video in the client's own stream, never the app's. */
|
|
357
|
+
private adoptVideoTrack;
|
|
358
|
+
/** Close the camera producer and produce `track` in its place, paused on both ends if it was. */
|
|
359
|
+
private reproduceCamera;
|
|
360
|
+
/** `options.layers` when valid, else 2 on phones and tablets and 3 elsewhere. */
|
|
361
|
+
private layerCount;
|
|
362
|
+
/**
|
|
363
|
+
* Produce the camera from `track`, paused on both ends when `paused`. By
|
|
364
|
+
* default the track says: one handed over switched off is a camera that is
|
|
365
|
+
* off, and so is one a pause switched off before a reconnect.
|
|
366
|
+
*/
|
|
239
367
|
private produceCamera;
|
|
368
|
+
/**
|
|
369
|
+
* Keep a producer just made -- unless unpublish() ran while it was being
|
|
370
|
+
* made. Kept, it would publish again what was just unpublished, so it is
|
|
371
|
+
* closed instead, on both ends.
|
|
372
|
+
*/
|
|
373
|
+
private keepProducer;
|
|
374
|
+
/**
|
|
375
|
+
* mediasoup-client makes a producer paused when its track is off, and the
|
|
376
|
+
* server makes every producer live. Unless the server is told, viewers get
|
|
377
|
+
* black video or silence from a camera or microphone they are told is on.
|
|
378
|
+
*/
|
|
379
|
+
private pauseOnServer;
|
|
380
|
+
/**
|
|
381
|
+
* H.264 or VP8 for the camera (see chooseCodec), with the device's own
|
|
382
|
+
* capability entry for it: produce() must only ever get one of those.
|
|
383
|
+
*/
|
|
384
|
+
private cameraCodec;
|
|
385
|
+
/** A forced H.264 that could not be used is the app's to hear about; 'auto' just notes it, once. */
|
|
386
|
+
private reportCodecFallback;
|
|
387
|
+
/** Best effort: a browser that ignores or refuses it keeps its own default. */
|
|
388
|
+
private applyDegradationPreference;
|
|
389
|
+
/** videoLimited sampling runs while a camera is published and someone listens. */
|
|
390
|
+
private syncLimitWatch;
|
|
240
391
|
/**
|
|
241
392
|
* Re-establish this client's broadcast after a reconnect.
|
|
242
393
|
*
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAU,KAAK,KAAK,IAAI,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAO5D,KAAK,eAAe,GAAG,EAAE,CAAC,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAU,KAAK,KAAK,IAAI,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAO5D,KAAK,eAAe,GAAG,EAAE,CAAC,eAAe,CAAC;AAK1C,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACxF,OAAO,EASL,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAe,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAC/F,OAAO,EAML,KAAK,UAAU,EAEf,KAAK,WAAW,EAChB,KAAK,YAAY,EAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAML,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AAEpB,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACrD,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACxE,YAAY,EAAE,eAAe,EAAE,qBAAqB,EAAE,cAAc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