@snapcall/stream-ui 1.11.5 → 1.12.1
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 +794 -316
- package/dist/stream-ui.js +790 -312
- package/dist/stream-ui.umd.js +225 -225
- package/dist/types.d.ts +6 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -299,6 +299,7 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
299
299
|
device: MediaDeviceInfo | null;
|
|
300
300
|
facingMode?: string;
|
|
301
301
|
resolution: VideoResolution;
|
|
302
|
+
framerate?: number;
|
|
302
303
|
};
|
|
303
304
|
webcamTrack: MediaStreamTrack | null;
|
|
304
305
|
webcamZoom: {
|
|
@@ -367,7 +368,9 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
367
368
|
zoomVideo(): Promise<void>;
|
|
368
369
|
unzoomVideo(): Promise<void>;
|
|
369
370
|
disableVideo(): Promise<void>;
|
|
370
|
-
enableScreenshare(
|
|
371
|
+
enableScreenshare(option?: {
|
|
372
|
+
audioTransportOption: 'mix' | 'none' | 'classic';
|
|
373
|
+
}): Promise<void>;
|
|
371
374
|
disableScreenshare(): Promise<void>;
|
|
372
375
|
onConsumerClose({ consumerId }: {
|
|
373
376
|
consumerId: ConsumerId;
|
|
@@ -416,7 +419,7 @@ declare class StreamerClient extends StreamerEventTargetType implements AudioLev
|
|
|
416
419
|
device: MediaDeviceInfo | null;
|
|
417
420
|
resolution: VideoResolution;
|
|
418
421
|
};
|
|
419
|
-
getCurrentMicrophoneId(): string | undefined;
|
|
422
|
+
getCurrentMicrophoneId(): string | MediaTrackSettings | undefined;
|
|
420
423
|
getCurrentSpeakerId(): string;
|
|
421
424
|
setWebcamResolution(resolution: VideoResolution): Promise<void>;
|
|
422
425
|
createAudioRenderer(consumerId: string): AudioRenderer;
|
|
@@ -492,7 +495,7 @@ interface ControlSettings {
|
|
|
492
495
|
interface StreamUIBaseOptions {
|
|
493
496
|
recorder?: {
|
|
494
497
|
enabled: boolean;
|
|
495
|
-
defaultState?: 'photo' | 'video';
|
|
498
|
+
defaultState?: 'photo' | 'video' | 'screen';
|
|
496
499
|
};
|
|
497
500
|
sharedURL?: string;
|
|
498
501
|
audioTiles?: boolean;
|