@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.
@@ -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
- * WS/WT channels for audio-only/video-only opcode groups are skipped.
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: false */
253
+ /** Enable WebRTC for audio and video. Default: true */
254
254
  enabled?: boolean;
255
255
  }
256
256
  /**
@@ -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;