@ikonai/sdk-react-ui 1.0.21 → 1.0.23
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/app/use-ikon-app.d.ts +5 -9
- package/index.js +502 -503
- package/package.json +1 -1
package/app/use-ikon-app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectionState, IkonClient, TimeoutConfig } from '../../../sdk/src/index.ts';
|
|
1
|
+
import { ConnectionState, IkonClient, TimeoutConfig, WebRTCTrackMapInfo } from '../../../sdk/src/index.ts';
|
|
2
2
|
import { RefObject } from 'react';
|
|
3
3
|
import { AuthConfig, LoginMethod } from '../auth/types';
|
|
4
4
|
import { IkonUiRegistry } from '../ikon-ui-registry';
|
|
@@ -96,17 +96,13 @@ export interface UseIkonAppResult {
|
|
|
96
96
|
*/
|
|
97
97
|
isReady: boolean;
|
|
98
98
|
/**
|
|
99
|
-
* WebRTC
|
|
99
|
+
* All WebRTC video streams keyed by track index.
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
webRtcVideoStreams: Map<number, MediaStream>;
|
|
102
102
|
/**
|
|
103
|
-
* WebRTC
|
|
103
|
+
* WebRTC track mapping info. Keys are "kind:trackIndex" (e.g. "audio:3", "video:0").
|
|
104
104
|
*/
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* WebRTC screen share MediaStream (when WebRTC enabled and connected).
|
|
108
|
-
*/
|
|
109
|
-
webRtcScreenStream: MediaStream | null;
|
|
105
|
+
webRtcTrackMap: Map<string, WebRTCTrackMapInfo>;
|
|
110
106
|
}
|
|
111
107
|
/**
|
|
112
108
|
* High-level hook that manages the entire Ikon connection lifecycle.
|