@cometchat/calls-sdk-react-native 5.0.0-beta.9 → 5.0.0
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/android/src/main/java/com/callingv5/MyAppPackage.java +0 -1
- package/dist/index.d.mts +16 -4
- package/dist/index.d.ts +16 -4
- package/dist/index.js +1 -11409
- package/dist/index.mjs +1 -11377
- package/package.json +2 -2
- package/android/src/main/java/com/callingv5/ToastModule.java +0 -29
|
@@ -23,7 +23,6 @@ public class MyAppPackage implements ReactPackage {
|
|
|
23
23
|
|
|
24
24
|
modules.add(new AudioModeModule(reactContext));
|
|
25
25
|
modules.add(new KeepAwakeModule(reactContext));
|
|
26
|
-
modules.add(new ToastModule(reactContext));
|
|
27
26
|
|
|
28
27
|
if (AudioModeModule.useConnectionService()) {
|
|
29
28
|
modules.add(new RNConnectionService(reactContext));
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as v from "valibot";
|
|
|
2
2
|
import * as zustand0 from "zustand";
|
|
3
3
|
import * as zustand_middleware0 from "zustand/middleware";
|
|
4
4
|
import React from "react";
|
|
5
|
-
import JitsiMeetJS from "lib-
|
|
5
|
+
import JitsiMeetJS from "@cometchat/calls-lib-webrtc";
|
|
6
6
|
import { AppStateStatus } from "react-native";
|
|
7
7
|
|
|
8
8
|
//#region calls-sdk-core/event-listeners/onTrack.d.ts
|
|
@@ -89,6 +89,7 @@ declare const VIDEO_PAUSE_AUTHORITY: {
|
|
|
89
89
|
};
|
|
90
90
|
declare const CONFERENCE_COMMANDS: {
|
|
91
91
|
userInfo: string;
|
|
92
|
+
initialConfig: string;
|
|
92
93
|
};
|
|
93
94
|
declare const VIDEO_QUALITY_LEVELS: {
|
|
94
95
|
ULTRA: number;
|
|
@@ -338,7 +339,8 @@ type BaseState = {
|
|
|
338
339
|
chatButtonUnreadCount: number;
|
|
339
340
|
enableNoiseReduction: boolean;
|
|
340
341
|
sdkPlatform: SDKPlatform;
|
|
341
|
-
|
|
342
|
+
platformVersion?: string | number;
|
|
343
|
+
userAgent?: string;
|
|
342
344
|
previewVideoTrack?: any;
|
|
343
345
|
isMobileBrowser: boolean;
|
|
344
346
|
mainAreaDimension: {
|
|
@@ -491,7 +493,16 @@ type ConfigStateWeb = {
|
|
|
491
493
|
audioInputDeviceId?: string;
|
|
492
494
|
audioOutputDeviceId?: string;
|
|
493
495
|
videoInputDeviceId?: string;
|
|
496
|
+
hideScreenSharingButton: boolean;
|
|
494
497
|
hideVirtualBackgroundButton: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* @unstable This API may change or be removed in a future release.
|
|
500
|
+
* When enabled, the SDK renders only remote audio elements without any
|
|
501
|
+
* visual UI (no video tiles, controls, or overlays). This allows the
|
|
502
|
+
* host app to provide its own custom UI while the SDK handles the
|
|
503
|
+
* underlying call connection and audio playback.
|
|
504
|
+
*/
|
|
505
|
+
unstable_renderAudioOnly: boolean;
|
|
495
506
|
};
|
|
496
507
|
type ConfigStateBoth = {
|
|
497
508
|
sessionType: SessionType;
|
|
@@ -509,7 +520,6 @@ type ConfigStateBoth = {
|
|
|
509
520
|
hideToggleVideoButton: boolean;
|
|
510
521
|
hideParticipantListButton: boolean;
|
|
511
522
|
hideChatButton: boolean;
|
|
512
|
-
hideScreenSharingButton: boolean;
|
|
513
523
|
hideSessionTimer: boolean;
|
|
514
524
|
hideNetworkIndicator: boolean;
|
|
515
525
|
hideRecordingStatusIndicator: boolean;
|
|
@@ -858,6 +868,9 @@ declare const useIsAudioInputSelectionSupported: () => boolean;
|
|
|
858
868
|
declare const useIsVideoInputSelectionSupported: () => boolean;
|
|
859
869
|
declare const useShouldMirrorLocalVideo: () => boolean;
|
|
860
870
|
//#endregion
|
|
871
|
+
//#region calls-sdk-core/store/utils/reset.d.ts
|
|
872
|
+
declare function resetAllStores(): void;
|
|
873
|
+
//#endregion
|
|
861
874
|
//#region calls-sdk-core/store/utils/switch-camera.d.ts
|
|
862
875
|
declare const switchCamera: () => void;
|
|
863
876
|
//#endregion
|
|
@@ -1021,7 +1034,6 @@ type ValueOf<T> = T[keyof T];
|
|
|
1021
1034
|
type ParticipantRole = ValueOf<typeof PARTICIPANT_ROLE>;
|
|
1022
1035
|
type NotificationType = 'info' | 'success' | 'warning' | 'error';
|
|
1023
1036
|
type SDKPlatform = ValueOf<typeof SDK_PLATFORM>;
|
|
1024
|
-
type WebOSName = 'android' | 'ios' | 'macos' | 'windows' | 'linux' | 'unknown';
|
|
1025
1037
|
interface ITrackOptions {
|
|
1026
1038
|
cameraDeviceId?: string | null;
|
|
1027
1039
|
constraints?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as zustand1 from "zustand";
|
|
2
2
|
import * as zustand_middleware0 from "zustand/middleware";
|
|
3
3
|
import { AppStateStatus } from "react-native";
|
|
4
|
-
import JitsiMeetJS from "lib-
|
|
4
|
+
import JitsiMeetJS from "@cometchat/calls-lib-webrtc";
|
|
5
5
|
import * as v from "valibot";
|
|
6
6
|
import React from "react";
|
|
7
7
|
|
|
@@ -89,6 +89,7 @@ declare const VIDEO_PAUSE_AUTHORITY: {
|
|
|
89
89
|
};
|
|
90
90
|
declare const CONFERENCE_COMMANDS: {
|
|
91
91
|
userInfo: string;
|
|
92
|
+
initialConfig: string;
|
|
92
93
|
};
|
|
93
94
|
declare const VIDEO_QUALITY_LEVELS: {
|
|
94
95
|
ULTRA: number;
|
|
@@ -338,7 +339,8 @@ type BaseState = {
|
|
|
338
339
|
chatButtonUnreadCount: number;
|
|
339
340
|
enableNoiseReduction: boolean;
|
|
340
341
|
sdkPlatform: SDKPlatform;
|
|
341
|
-
|
|
342
|
+
platformVersion?: string | number;
|
|
343
|
+
userAgent?: string;
|
|
342
344
|
previewVideoTrack?: any;
|
|
343
345
|
isMobileBrowser: boolean;
|
|
344
346
|
mainAreaDimension: {
|
|
@@ -491,7 +493,16 @@ type ConfigStateWeb = {
|
|
|
491
493
|
audioInputDeviceId?: string;
|
|
492
494
|
audioOutputDeviceId?: string;
|
|
493
495
|
videoInputDeviceId?: string;
|
|
496
|
+
hideScreenSharingButton: boolean;
|
|
494
497
|
hideVirtualBackgroundButton: boolean;
|
|
498
|
+
/**
|
|
499
|
+
* @unstable This API may change or be removed in a future release.
|
|
500
|
+
* When enabled, the SDK renders only remote audio elements without any
|
|
501
|
+
* visual UI (no video tiles, controls, or overlays). This allows the
|
|
502
|
+
* host app to provide its own custom UI while the SDK handles the
|
|
503
|
+
* underlying call connection and audio playback.
|
|
504
|
+
*/
|
|
505
|
+
unstable_renderAudioOnly: boolean;
|
|
495
506
|
};
|
|
496
507
|
type ConfigStateBoth = {
|
|
497
508
|
sessionType: SessionType;
|
|
@@ -509,7 +520,6 @@ type ConfigStateBoth = {
|
|
|
509
520
|
hideToggleVideoButton: boolean;
|
|
510
521
|
hideParticipantListButton: boolean;
|
|
511
522
|
hideChatButton: boolean;
|
|
512
|
-
hideScreenSharingButton: boolean;
|
|
513
523
|
hideSessionTimer: boolean;
|
|
514
524
|
hideNetworkIndicator: boolean;
|
|
515
525
|
hideRecordingStatusIndicator: boolean;
|
|
@@ -858,6 +868,9 @@ declare const useIsAudioInputSelectionSupported: () => boolean;
|
|
|
858
868
|
declare const useIsVideoInputSelectionSupported: () => boolean;
|
|
859
869
|
declare const useShouldMirrorLocalVideo: () => boolean;
|
|
860
870
|
//#endregion
|
|
871
|
+
//#region calls-sdk-core/store/utils/reset.d.ts
|
|
872
|
+
declare function resetAllStores(): void;
|
|
873
|
+
//#endregion
|
|
861
874
|
//#region calls-sdk-core/store/utils/switch-camera.d.ts
|
|
862
875
|
declare const switchCamera: () => void;
|
|
863
876
|
//#endregion
|
|
@@ -1021,7 +1034,6 @@ type ValueOf<T> = T[keyof T];
|
|
|
1021
1034
|
type ParticipantRole = ValueOf<typeof PARTICIPANT_ROLE>;
|
|
1022
1035
|
type NotificationType = 'info' | 'success' | 'warning' | 'error';
|
|
1023
1036
|
type SDKPlatform = ValueOf<typeof SDK_PLATFORM>;
|
|
1024
|
-
type WebOSName = 'android' | 'ios' | 'macos' | 'windows' | 'linux' | 'unknown';
|
|
1025
1037
|
interface ITrackOptions {
|
|
1026
1038
|
cameraDeviceId?: string | null;
|
|
1027
1039
|
constraints?: {
|