@livekit/react-native 2.9.3 → 2.9.5
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/build.gradle +1 -3
- package/lib/commonjs/components/VideoTrack.js +6 -2
- package/lib/commonjs/components/VideoTrack.js.map +1 -1
- package/lib/commonjs/components/VideoView.js +3 -1
- package/lib/commonjs/components/VideoView.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/components/VideoTrack.js +6 -2
- package/lib/module/components/VideoTrack.js.map +1 -1
- package/lib/module/components/VideoView.js +3 -1
- package/lib/module/components/VideoView.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/{src/components → components}/VideoTrack.d.ts +1 -1
- package/lib/typescript/{src/index.d.ts → index.d.ts} +1 -1
- package/package.json +26 -16
- package/src/components/VideoTrack.tsx +2 -0
- package/src/components/VideoView.tsx +1 -0
- package/src/index.tsx +1 -1
- package/lib/typescript/babel.config.d.ts +0 -1
- package/lib/typescript/docs/assets/icons.d.ts +0 -0
- package/lib/typescript/docs/assets/main.d.ts +0 -0
- package/lib/typescript/docs/assets/navigation.d.ts +0 -0
- package/lib/typescript/docs/assets/search.d.ts +0 -0
- package/lib/typescript/lib/commonjs/LKNativeModule.d.ts +0 -3
- package/lib/typescript/lib/commonjs/audio/AudioManager.d.ts +0 -10
- package/lib/typescript/lib/commonjs/audio/AudioSession.d.ts +0 -33
- package/lib/typescript/lib/commonjs/audio/MediaRecorder.d.ts +0 -24
- package/lib/typescript/lib/commonjs/components/BarVisualizer.d.ts +0 -32
- package/lib/typescript/lib/commonjs/components/LiveKitRoom.d.ts +0 -20
- package/lib/typescript/lib/commonjs/components/VideoTrack.d.ts +0 -2
- package/lib/typescript/lib/commonjs/components/VideoView.d.ts +0 -14
- package/lib/typescript/lib/commonjs/components/ViewPortDetector.d.ts +0 -30
- package/lib/typescript/lib/commonjs/e2ee/RNE2EEManager.d.ts +0 -39
- package/lib/typescript/lib/commonjs/e2ee/RNKeyProvider.d.ts +0 -33
- package/lib/typescript/lib/commonjs/events/EventEmitter.d.ts +0 -4
- package/lib/typescript/lib/commonjs/hooks/useE2EEManager.d.ts +0 -8
- package/lib/typescript/lib/commonjs/hooks/useMultibandTrackVolume.d.ts +0 -8
- package/lib/typescript/lib/commonjs/hooks/useTrackVolume.d.ts +0 -8
- package/lib/typescript/lib/commonjs/hooks.d.ts +0 -32
- package/lib/typescript/lib/commonjs/index.d.ts +0 -14
- package/lib/typescript/lib/commonjs/logger.d.ts +0 -8
- package/lib/typescript/lib/commonjs/useParticipant.d.ts +0 -14
- package/lib/typescript/lib/commonjs/useRoom.d.ts +0 -16
- package/lib/typescript/lib/module/LKNativeModule.d.ts +0 -2
- package/lib/typescript/lib/module/audio/AudioManager.d.ts +0 -9
- package/lib/typescript/lib/module/audio/AudioSession.d.ts +0 -31
- package/lib/typescript/lib/module/audio/MediaRecorder.d.ts +0 -22
- package/lib/typescript/lib/module/components/BarVisualizer.d.ts +0 -10
- package/lib/typescript/lib/module/components/LiveKitRoom.d.ts +0 -22
- package/lib/typescript/lib/module/components/VideoTrack.d.ts +0 -14
- package/lib/typescript/lib/module/components/VideoView.d.ts +0 -9
- package/lib/typescript/lib/module/components/ViewPortDetector.d.ts +0 -29
- package/lib/typescript/lib/module/e2ee/RNE2EEManager.d.ts +0 -37
- package/lib/typescript/lib/module/e2ee/RNKeyProvider.d.ts +0 -30
- package/lib/typescript/lib/module/events/EventEmitter.d.ts +0 -3
- package/lib/typescript/lib/module/hooks/useE2EEManager.d.ts +0 -9
- package/lib/typescript/lib/module/hooks/useMultibandTrackVolume.d.ts +0 -7
- package/lib/typescript/lib/module/hooks/useTrackVolume.d.ts +0 -7
- package/lib/typescript/lib/module/hooks.d.ts +0 -4
- package/lib/typescript/lib/module/index.d.ts +0 -23
- package/lib/typescript/lib/module/logger.d.ts +0 -8
- package/lib/typescript/lib/module/polyfills/MediaRecorderShim.d.ts +0 -1
- package/lib/typescript/lib/module/useParticipant.d.ts +0 -13
- package/lib/typescript/lib/module/useRoom.d.ts +0 -15
- package/lib/typescript/scripts/bootstrap.d.ts +0 -1
- package/lib/typescript/src/polyfills/EncoderDecoderTogether.min.d.ts +0 -0
- package/lib/typescript/src/polyfills/MediaRecorderShim.d.ts +0 -1
- /package/lib/typescript/{src/LKNativeModule.d.ts → LKNativeModule.d.ts} +0 -0
- /package/lib/typescript/{src/audio → audio}/AudioManager.d.ts +0 -0
- /package/lib/typescript/{src/audio → audio}/AudioSession.d.ts +0 -0
- /package/lib/typescript/{src/audio → audio}/MediaRecorder.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/BarVisualizer.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/LiveKitRoom.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/VideoView.d.ts +0 -0
- /package/lib/typescript/{src/components → components}/ViewPortDetector.d.ts +0 -0
- /package/lib/typescript/{src/e2ee → e2ee}/RNE2EEManager.d.ts +0 -0
- /package/lib/typescript/{src/e2ee → e2ee}/RNKeyProvider.d.ts +0 -0
- /package/lib/typescript/{src/events → events}/EventEmitter.d.ts +0 -0
- /package/lib/typescript/{src/hooks → hooks}/useE2EEManager.d.ts +0 -0
- /package/lib/typescript/{src/hooks → hooks}/useMultibandTrackVolume.d.ts +0 -0
- /package/lib/typescript/{src/hooks → hooks}/useTrackVolume.d.ts +0 -0
- /package/lib/typescript/{src/hooks.d.ts → hooks.d.ts} +0 -0
- /package/lib/typescript/{src/logger.d.ts → logger.d.ts} +0 -0
- /package/lib/typescript/{lib/module/polyfills → polyfills}/EncoderDecoderTogether.min.d.ts +0 -0
- /package/lib/typescript/{lib/commonjs/polyfills → polyfills}/MediaRecorderShim.d.ts +0 -0
- /package/lib/typescript/{src/useParticipant.d.ts → useParticipant.d.ts} +0 -0
- /package/lib/typescript/{src/useRoom.d.ts → useRoom.d.ts} +0 -0
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Options for construction an RNKeyProvider
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @experimental
|
|
6
|
-
*/
|
|
7
|
-
export default class RNKeyProvider extends BaseKeyProvider {
|
|
8
|
-
constructor(options: any);
|
|
9
|
-
nativeKeyProvider: import("@livekit/react-native-webrtc").RTCKeyProvider;
|
|
10
|
-
getLatestKeyIndex(participantId: any): any;
|
|
11
|
-
/**
|
|
12
|
-
* Accepts a passphrase that's used to create the crypto keys.
|
|
13
|
-
* @param key
|
|
14
|
-
*/
|
|
15
|
-
setSharedKey(key: any, keyIndex: any): Promise<any>;
|
|
16
|
-
ratchetSharedKey(keyIndex: any): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Accepts a passphrase that's used to create the crypto keys for a participant's stream.
|
|
19
|
-
* @param key
|
|
20
|
-
*/
|
|
21
|
-
setKey(participantId: any, key: any, keyIndex: any): Promise<any>;
|
|
22
|
-
ratchetKey(participantIdentity: any, keyIndex: any): Promise<void>;
|
|
23
|
-
setSifTrailer(trailer: any): Promise<any>;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
get rtcKeyProvider(): import("@livekit/react-native-webrtc").RTCKeyProvider;
|
|
28
|
-
dispose(): void;
|
|
29
|
-
}
|
|
30
|
-
import { BaseKeyProvider } from 'livekit-client';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A hook for tracking the volume of an audio track across multiple frequency bands.
|
|
3
|
-
*
|
|
4
|
-
* @param trackOrTrackReference
|
|
5
|
-
* @returns A number array containing the volume for each frequency band.
|
|
6
|
-
*/
|
|
7
|
-
export function useMultibandTrackVolume(trackOrTrackReference: any, options: any): never[];
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from "./hooks/useE2EEManager";
|
|
2
|
-
export * from "./hooks/useTrackVolume";
|
|
3
|
-
export * from "./hooks/useMultibandTrackVolume";
|
|
4
|
-
export { useConnectionState, useDataChannel, useIsSpeaking, useLocalParticipant, useLocalParticipantPermissions, useParticipantInfo, useParticipants, useRemoteParticipants, useRemoteParticipant, useSpeakingParticipants, useSortedParticipants, useChat, useIsEncrypted, useRoomInfo, useIsMuted, useParticipantTracks, useLiveKitRoom, RoomContext, useRoomContext, ParticipantContext, useParticipantContext, TrackRefContext, useTrackRefContext, useTracks, isTrackReference, useEnsureTrackRef, useMaybeTrackRefContext, useTrackMutedIndicator, useVisualStableUpdate, useVoiceAssistant, useTrackTranscription } from "@livekit/components-react";
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Registers the required globals needed for LiveKit to work.
|
|
3
|
-
*
|
|
4
|
-
* Must be called before using LiveKit.
|
|
5
|
-
*
|
|
6
|
-
* @param options Optional configuration for global registration
|
|
7
|
-
*/
|
|
8
|
-
export function registerGlobals(options: any): void;
|
|
9
|
-
export * from "./hooks";
|
|
10
|
-
export * from "./components/BarVisualizer";
|
|
11
|
-
export * from "./components/LiveKitRoom";
|
|
12
|
-
export * from "./components/VideoTrack";
|
|
13
|
-
export * from "./components/VideoView";
|
|
14
|
-
export * from "./useParticipant";
|
|
15
|
-
export * from "./useRoom";
|
|
16
|
-
export * from "./logger";
|
|
17
|
-
export * from "./audio/AudioManager";
|
|
18
|
-
import AudioSession from './audio/AudioSession';
|
|
19
|
-
import RNE2EEManager from './e2ee/RNE2EEManager';
|
|
20
|
-
import RNKeyProvider from './e2ee/RNKeyProvider';
|
|
21
|
-
import { AndroidAudioTypePresets } from './audio/AudioSession';
|
|
22
|
-
import { getDefaultAppleAudioConfigurationForMode } from './audio/AudioSession';
|
|
23
|
-
export { AudioSession, RNE2EEManager, RNKeyProvider, AndroidAudioTypePresets, getDefaultAppleAudioConfigurationForMode };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Set the log level for both the `@livekit/react-native` package and the `@livekit-client` package.
|
|
3
|
-
* To set the `@livekit-client` log independently, use the `liveKitClientLogLevel` prop on the `options` object.
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export function setLogLevel(level: any, options?: {}): void;
|
|
7
|
-
export const log: loglevel.Logger;
|
|
8
|
-
import loglevel from 'loglevel';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** @deprecated use `useRemoteParticipant` or `useLocalParticipant` instead */
|
|
2
|
-
/** @deprecated use `useRemoteParticipant` or `useLocalParticipant` instead */
|
|
3
|
-
export function useParticipant(participant: any): {
|
|
4
|
-
isLocal: boolean;
|
|
5
|
-
isSpeaking: boolean;
|
|
6
|
-
connectionQuality: any;
|
|
7
|
-
publications: never[];
|
|
8
|
-
subscribedTracks: never[];
|
|
9
|
-
cameraPublication: any;
|
|
10
|
-
microphonePublication: any;
|
|
11
|
-
screenSharePublication: any;
|
|
12
|
-
metadata: undefined;
|
|
13
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** @deprecated wrap your components in a <LiveKitRoom> component instead and use more granular hooks to track state you're interested in */
|
|
2
|
-
export function useRoom(room: any, options: any): {
|
|
3
|
-
error: undefined;
|
|
4
|
-
participants: never[];
|
|
5
|
-
audioTracks: never[];
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Default sort for participants, it'll order participants by:
|
|
9
|
-
* 1. dominant speaker (speaker with the loudest audio level)
|
|
10
|
-
* 2. local participant
|
|
11
|
-
* 3. other speakers that are recently active
|
|
12
|
-
* 4. participants with video on
|
|
13
|
-
* 5. by joinedAt
|
|
14
|
-
*/
|
|
15
|
-
export function sortParticipants(participants: any, localParticipant: any): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|