@webex/media-helpers 3.0.0-stream-classes.1 → 3.0.0-stream-classes.3
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/package.json +1 -1
- package/dist/constants.d.ts +0 -13
- package/dist/index.d.ts +0 -4
- package/dist/webrtc-core.d.ts +0 -48
package/package.json
CHANGED
package/dist/constants.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VideoDeviceConstraints } from '@webex/internal-media-core';
|
|
2
|
-
export declare enum FacingMode {
|
|
3
|
-
user = "user",
|
|
4
|
-
environment = "environment"
|
|
5
|
-
}
|
|
6
|
-
export declare enum DisplaySurface {
|
|
7
|
-
browser = "browser",
|
|
8
|
-
monitor = "monitor",
|
|
9
|
-
window = "window"
|
|
10
|
-
}
|
|
11
|
-
export declare const PresetCameraConstraints: {
|
|
12
|
-
[key: string]: VideoDeviceConstraints;
|
|
13
|
-
};
|
package/dist/index.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { getDevices, LocalStream, LocalDisplayStream, LocalSystemAudioStream, LocalStreamEventNames, StreamEventNames, type ServerMuteReason, LocalMicrophoneStreamEventNames, LocalCameraStreamEventNames, LocalMicrophoneStream, LocalCameraStream, createMicrophoneStream, createCameraStream, createDisplayStream, createDisplayStreamWithAudio, } from './webrtc-core';
|
|
2
|
-
export { NoiseReductionEffect, VirtualBackgroundEffect } from '@webex/web-media-effects';
|
|
3
|
-
export type { NoiseReductionEffectOptions, VirtualBackgroundEffectOptions, } from '@webex/web-media-effects';
|
|
4
|
-
export { FacingMode, DisplaySurface, PresetCameraConstraints } from './constants';
|
package/dist/webrtc-core.d.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { AudioDeviceConstraints, LocalDisplayStream, LocalSystemAudioStream, LocalMicrophoneStream as WcmeLocalMicrophoneStream, LocalCameraStream as WcmeLocalCameraStream, VideoDeviceConstraints } from '@webex/internal-media-core';
|
|
2
|
-
import { TypedEvent } from '@webex/ts-events';
|
|
3
|
-
export { getDevices, LocalStream, LocalDisplayStream, LocalSystemAudioStream, LocalStreamEventNames, StreamEventNames, RemoteStream, } from '@webex/internal-media-core';
|
|
4
|
-
export type ServerMuteReason = 'remotelyMuted' | 'clientRequestFailed' | 'localUnmuteRequired';
|
|
5
|
-
export declare enum LocalMicrophoneStreamEventNames {
|
|
6
|
-
ServerMuted = "muted:byServer"
|
|
7
|
-
}
|
|
8
|
-
export declare enum LocalCameraStreamEventNames {
|
|
9
|
-
ServerMuted = "muted:byServer"
|
|
10
|
-
}
|
|
11
|
-
export declare class LocalMicrophoneStream extends WcmeLocalMicrophoneStream {
|
|
12
|
-
private unmuteAllowed;
|
|
13
|
-
[LocalMicrophoneStreamEventNames.ServerMuted]: TypedEvent<(muted: boolean, reason: ServerMuteReason) => void>;
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
setUnmuteAllowed(allowed: any): void;
|
|
18
|
-
/**
|
|
19
|
-
* @returns true if user is allowed to unmute the Stream, false otherwise
|
|
20
|
-
*/
|
|
21
|
-
isUnmuteAllowed(): boolean;
|
|
22
|
-
setMuted(muted: boolean): void;
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
setServerMuted(muted: boolean, reason: ServerMuteReason): void;
|
|
27
|
-
}
|
|
28
|
-
export declare class LocalCameraStream extends WcmeLocalCameraStream {
|
|
29
|
-
private unmuteAllowed;
|
|
30
|
-
[LocalCameraStreamEventNames.ServerMuted]: TypedEvent<(muted: boolean, reason: ServerMuteReason) => void>;
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
34
|
-
setUnmuteAllowed(allowed: any): void;
|
|
35
|
-
/**
|
|
36
|
-
* @returns true if user is allowed to unmute the Stream, false otherwise
|
|
37
|
-
*/
|
|
38
|
-
isUnmuteAllowed(): boolean;
|
|
39
|
-
setMuted(muted: boolean): void;
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
setServerMuted(muted: boolean, reason: ServerMuteReason): void;
|
|
44
|
-
}
|
|
45
|
-
export declare const createMicrophoneStream: (constraints?: AudioDeviceConstraints) => Promise<LocalMicrophoneStream>;
|
|
46
|
-
export declare const createCameraStream: (constraints?: VideoDeviceConstraints) => Promise<LocalCameraStream>;
|
|
47
|
-
export declare const createDisplayStream: () => Promise<LocalDisplayStream>;
|
|
48
|
-
export declare const createDisplayStreamWithAudio: () => Promise<[LocalDisplayStream, LocalSystemAudioStream]>;
|