@ikonai/sdk 1.0.18 → 1.0.20
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/client/ikon-client-config.d.ts +6 -0
- package/client/ikon-client.d.ts +2 -0
- package/index.js +1010 -959
- package/media/ikon-audio-playback.d.ts +1 -1
- package/media/media-session-helper.d.ts +15 -0
- package/package.json +1 -1
|
@@ -68,6 +68,12 @@ export interface LocalConfig extends CommonConnectionConfig {
|
|
|
68
68
|
* User ID for the connection.
|
|
69
69
|
*/
|
|
70
70
|
userId?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Space ID used for anonymous authentication to resolve the user ID.
|
|
73
|
+
* When provided (and userId is not set), the SDK will attempt to call
|
|
74
|
+
* the anonymous auth endpoint to obtain an internal user ID.
|
|
75
|
+
*/
|
|
76
|
+
spaceId?: string;
|
|
71
77
|
}
|
|
72
78
|
/**
|
|
73
79
|
* Common options for cloud-based modes (apiKey and sessionToken).
|
package/client/ikon-client.d.ts
CHANGED
|
@@ -277,7 +277,9 @@ export declare class IkonClient {
|
|
|
277
277
|
private setupWebRtcSignaling;
|
|
278
278
|
private _webRtcAudioElement;
|
|
279
279
|
private _webRtcAudioUnlockHandler;
|
|
280
|
+
private readonly _webRtcMediaSession;
|
|
280
281
|
private autoPlayWebRtcAudio;
|
|
282
|
+
private setupWebRtcMediaSession;
|
|
281
283
|
private removeWebRtcAudioUnlockHandler;
|
|
282
284
|
private connectProtocolOnMainThread;
|
|
283
285
|
private disconnectProtocol;
|