@defcomm/meetingsdk 0.2.1 → 0.2.2
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -540,6 +540,7 @@ declare const useRemoteMedia: (participantId: string) => {
|
|
|
540
540
|
audioRef: react.RefObject<HTMLAudioElement | null>;
|
|
541
541
|
isCamActive: boolean;
|
|
542
542
|
isMicEnabled: boolean;
|
|
543
|
+
connectionState: "connected" | "reconnecting" | "disconnected" | undefined;
|
|
543
544
|
};
|
|
544
545
|
|
|
545
546
|
type LiveRoomState = {
|
package/dist/index.d.ts
CHANGED
|
@@ -540,6 +540,7 @@ declare const useRemoteMedia: (participantId: string) => {
|
|
|
540
540
|
audioRef: react.RefObject<HTMLAudioElement | null>;
|
|
541
541
|
isCamActive: boolean;
|
|
542
542
|
isMicEnabled: boolean;
|
|
543
|
+
connectionState: "connected" | "reconnecting" | "disconnected" | undefined;
|
|
543
544
|
};
|
|
544
545
|
|
|
545
546
|
type LiveRoomState = {
|
package/dist/index.js
CHANGED
|
@@ -2797,7 +2797,8 @@ var useRemoteMedia = (participantId) => {
|
|
|
2797
2797
|
videoRef,
|
|
2798
2798
|
audioRef,
|
|
2799
2799
|
isCamActive: !!participant?.media?.camEnabled,
|
|
2800
|
-
isMicEnabled: !!participant?.media?.micEnabled
|
|
2800
|
+
isMicEnabled: !!participant?.media?.micEnabled,
|
|
2801
|
+
connectionState: participant?.connectionState
|
|
2801
2802
|
};
|
|
2802
2803
|
};
|
|
2803
2804
|
|