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