@ikonai/sdk 1.0.41 → 1.0.42
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/assets/{audio-capture-worker-DuKZS6HJ.js → audio-capture-worker-Dmgg-yWd.js} +151 -165
- package/assets/{audio-playback-worker-BkM1Wq_F.js → audio-playback-worker-MsPNs6k4.js} +449 -384
- package/assets/{protocol-worker-BVD4poVW.js → protocol-worker-4bSKGT40.js} +202 -193
- package/assets/{video-capture-worker-CpzIHq4o.js → video-capture-worker-Bitll1TI.js} +161 -161
- package/assets/{video-playback-worker-Djop0qmb.js → video-playback-worker-BQSKswID.js} +247 -245
- package/channel/channel-manager.d.ts +2 -2
- package/client/ikon-client-config.d.ts +1 -1
- package/client/ikon-client.d.ts +2 -0
- package/index.js +2382 -2213
- package/media/ikon-audio-playback.d.ts +4 -0
- package/package.json +1 -1
- package/utils/query-params.d.ts +3 -0
- package/webrtc/webrtc-signaling.d.ts +7 -6
- package/worker/audio-playback-worker.d.ts +10 -2
- package/worker/video-playback-worker.d.ts +1 -0
|
@@ -51,8 +51,8 @@ export interface ChannelManagerConfig {
|
|
|
51
51
|
*/
|
|
52
52
|
onError?: (error: Error) => void;
|
|
53
53
|
/**
|
|
54
|
-
* When true, WebRTC handles audio and video transport.
|
|
55
|
-
*
|
|
54
|
+
* When true, WebRTC handles audio and video media transport.
|
|
55
|
+
* WebRTC-type entrypoints are filtered out (they are signal-only, not real channels).
|
|
56
56
|
*/
|
|
57
57
|
webRtcEnabled?: boolean;
|
|
58
58
|
}
|
|
@@ -250,7 +250,7 @@ export interface VideoConfig {
|
|
|
250
250
|
* WebRTC configuration for audio and video transport.
|
|
251
251
|
*/
|
|
252
252
|
export interface WebRtcConfig {
|
|
253
|
-
/** Enable WebRTC for audio and video. Default:
|
|
253
|
+
/** Enable WebRTC for audio and video. Default: true */
|
|
254
254
|
enabled?: boolean;
|
|
255
255
|
}
|
|
256
256
|
/**
|
package/client/ikon-client.d.ts
CHANGED
|
@@ -310,7 +310,9 @@ export declare class IkonClient {
|
|
|
310
310
|
private setupWebRtcSignaling;
|
|
311
311
|
private _webRtcAudioUnlockHandler;
|
|
312
312
|
private readonly _webRtcMediaSession;
|
|
313
|
+
private ensureWebRtcAudioElement;
|
|
313
314
|
private playWebRtcAudioTrack;
|
|
315
|
+
private ensureWebRtcAudioUnlockHandler;
|
|
314
316
|
private stopWebRtcAudioTrack;
|
|
315
317
|
private setupWebRtcMediaSession;
|
|
316
318
|
private removeWebRtcAudioUnlockHandler;
|