@ikonai/sdk 0.0.31 → 0.0.33

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.
@@ -1,7 +1,7 @@
1
1
  import { ProtocolMessage } from '../../../../shared/protocol/src/index.ts';
2
2
  import { BackendType } from '../connection/urls';
3
3
  import { ConnectionState } from './connection-state';
4
- import { IkonAudioOutputConfig, IkonAudioPlaybackConfig } from '../media/ikon-audio-playback';
4
+ import { IkonAudioPlaybackConfig } from '../media/ikon-audio-playback';
5
5
  import { IkonVideoPlaybackConfig } from '../media/ikon-video-playback';
6
6
  export type { BackendType };
7
7
  /**
@@ -245,14 +245,22 @@ export interface IkonClientConfig {
245
245
  * the AudioContext on the first user gesture (click, touch, keypress, etc.).
246
246
  */
247
247
  enabled?: boolean;
248
- /**
249
- * Output format for mixing and rendering.
250
- */
251
- output?: IkonAudioOutputConfig;
252
248
  /**
253
249
  * Threading and capability preferences for audio.
254
250
  */
255
251
  threading?: IkonAudioPlaybackConfig['threading'];
252
+ /**
253
+ * Background audio playback configuration.
254
+ */
255
+ background?: IkonAudioPlaybackConfig['background'];
256
+ /**
257
+ * Media Session metadata for notifications/lock screen.
258
+ */
259
+ mediaSession?: IkonAudioPlaybackConfig['mediaSession'];
260
+ /**
261
+ * Audio debugging/diagnostics configuration.
262
+ */
263
+ diagnostics?: IkonAudioPlaybackConfig['diagnostics'];
256
264
  };
257
265
  /**
258
266
  * Video playback pipeline.
package/index.d.ts CHANGED
@@ -21,4 +21,4 @@ export type { ValueDescriptor, NormalizedValueDescriptor, PrimitiveValueKind, Fu
21
21
  export { IKON_AUTH_BASE_URL, IKON_AUTH_URL_PROD, IKON_AUTH_URL_DEV, IKON_BACKEND_URL_PROD, IKON_BACKEND_URL_DEV, deriveAuthUrl, deriveBackendUrl, deriveBackendType, parseUrlParams, isCloudEnvironment, type UrlParams } from './connection/urls';
22
22
  export { getOrCreateDeviceId, clearDeviceId, extractUserIdFromToken } from './storage';
23
23
  export { IkonMedia, IkonAudioPlayback, IkonVideoPlayback, isSharedArrayBufferSupported, isAudioWorkletSupported, IkonMediaCapture, IkonVideoCapture, IkonAudioCapture, IkonImageCapture } from './media';
24
- export type { IkonMediaConfig, IkonAudioPlaybackConfig, IkonAudioOutputConfig, IkonVideoPlaybackConfig, IkonVideoCaptureHandle, IkonVideoCaptureRequest, VideoCaptureSource, IkonAudioCaptureHandle, IkonAudioCaptureRequest, IkonImageCaptureRequest, IkonImageCaptureResult } from './media';
24
+ export type { IkonMediaConfig, IkonAudioPlaybackConfig, IkonVideoPlaybackConfig, IkonVideoCaptureHandle, IkonVideoCaptureRequest, VideoCaptureSource, IkonAudioCaptureHandle, IkonAudioCaptureRequest, IkonImageCaptureRequest, IkonImageCaptureResult } from './media';