Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Commit 5be4f96

Browse files
authored
Move whip-whep exports to livestream module (#490)
1 parent 04ad1d8 commit 5be4f96

3 files changed

Lines changed: 9 additions & 11 deletions

File tree

internal/fishjam-chat/screens/LivestreamScreen/LivestreamStreamerScreen.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import {
2-
useSandbox,
3-
cameras,
4-
WhipClient,
5-
} from '@fishjam-cloud/react-native-client';
1+
import { useSandbox } from '@fishjam-cloud/react-native-client';
62
import {
73
LivestreamStreamer,
84
useLivestreamStreamer,
5+
cameras,
6+
WhipClient,
97
} from '@fishjam-cloud/react-native-client/livestream';
108
import type { NativeStackScreenProps } from '@react-navigation/native-stack';
119
import React, { useCallback, useEffect } from 'react';

packages/react-native-client/src/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,6 @@ export { useForegroundService } from './hooks/useForegroundService';
8484
export { useConnection } from './hooks/useConnection';
8585
export { useUpdatePeerMetadata } from './hooks/useUpdatePeerMetadata';
8686
export { useSandbox } from './hooks/useSandbox';
87-
export {
88-
cameras,
89-
VideoParameters,
90-
WhipClient,
91-
WhepClient,
92-
} from 'react-native-whip-whep';
9387
// #endregion
9488

9589
export {

packages/react-native-client/src/livestream/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ export { LivestreamStreamer } from './components/LivestreamStreamer';
22
export { LivestreamViewer } from './components/LivestreamViewer';
33
export { useLivestreamViewer } from './hooks/useLivestreamViewer';
44
export { useLivestreamStreamer } from './hooks/useLivestreamStreamer';
5+
export {
6+
cameras,
7+
VideoParameters,
8+
WhipClient,
9+
WhepClient,
10+
} from 'react-native-whip-whep';
511
export type { LivestreamStreamerProps } from './components/LivestreamStreamer';
612
export type { ConnectViewerConfig } from './hooks/useLivestreamViewer';
713
export type { useLivestreamViewerResult } from './hooks/useLivestreamViewer';

0 commit comments

Comments
 (0)