@ikonai/sdk 0.0.14 → 0.0.15
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.
|
@@ -31,10 +31,6 @@ export interface IkonAudioPlaybackConfig {
|
|
|
31
31
|
* Output format used by the mixing graph.
|
|
32
32
|
*/
|
|
33
33
|
output?: IkonAudioOutputConfig;
|
|
34
|
-
/**
|
|
35
|
-
* Called when the browser requires a user gesture to start audio playback.
|
|
36
|
-
*/
|
|
37
|
-
onAudioUnlockRequired?: () => void;
|
|
38
34
|
/**
|
|
39
35
|
* Worker and transport preferences.
|
|
40
36
|
*
|
|
@@ -69,7 +65,6 @@ export declare class IkonAudioPlayback {
|
|
|
69
65
|
private enabled;
|
|
70
66
|
private prepared;
|
|
71
67
|
private stateUnsubscribe;
|
|
72
|
-
private unlockRequiredSignaled;
|
|
73
68
|
private readonly isIos;
|
|
74
69
|
private recreateOnNextResume;
|
|
75
70
|
private boundVisibilityChange;
|
|
@@ -137,7 +132,6 @@ export declare class IkonAudioPlayback {
|
|
|
137
132
|
* Some browsers return a Promise that never resolves in certain edge cases.
|
|
138
133
|
*/
|
|
139
134
|
private resumeWithTimeout;
|
|
140
|
-
private signalUnlockRequired;
|
|
141
135
|
private ensureAudioWorklet;
|
|
142
136
|
private ensureScriptProcessor;
|
|
143
137
|
private readFromFallbackQueue;
|
|
@@ -13,12 +13,6 @@ export interface IkonImageCaptureResult {
|
|
|
13
13
|
data: Uint8Array;
|
|
14
14
|
}
|
|
15
15
|
export declare class IkonImageCapture {
|
|
16
|
-
private readonly requestUserGesture;
|
|
17
|
-
constructor(requestUserGesture: (req: {
|
|
18
|
-
kind: 'image';
|
|
19
|
-
resume: () => void;
|
|
20
|
-
cancel?: () => void;
|
|
21
|
-
}) => void);
|
|
22
16
|
private acquireCameraStream;
|
|
23
17
|
captureFromCamera(request?: IkonImageCaptureRequest): Promise<IkonImageCaptureResult>;
|
|
24
18
|
}
|
|
@@ -23,7 +23,6 @@ export declare class IkonVideoCapture {
|
|
|
23
23
|
private ensureWorker;
|
|
24
24
|
private ensurePorts;
|
|
25
25
|
private getMediaStream;
|
|
26
|
-
private acquireStreamWithGestureFallback;
|
|
27
26
|
start(request: IkonVideoCaptureRequest): Promise<IkonVideoCaptureHandle>;
|
|
28
27
|
startCamera(options?: Omit<IkonVideoCaptureRequest, 'source'>): Promise<IkonVideoCaptureHandle>;
|
|
29
28
|
startScreen(options?: Omit<IkonVideoCaptureRequest, 'source'>): Promise<IkonVideoCaptureHandle>;
|