diff --git a/packages/noise-cancellation-react-native/package.json b/packages/noise-cancellation-react-native/package.json index aaf8706bc1..6a32382765 100644 --- a/packages/noise-cancellation-react-native/package.json +++ b/packages/noise-cancellation-react-native/package.json @@ -50,7 +50,7 @@ "@stream-io/react-native-webrtc": "125.4.4", "react": "19.1.0", "react-native": "^0.81.4", - "react-native-builder-bob": "^0.37.0", + "react-native-builder-bob": "^0.40.13", "rimraf": "^6.0.1", "typescript": "^5.9.3" }, diff --git a/packages/react-native-broadcast/.watchmanconfig b/packages/react-native-broadcast/.watchmanconfig new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/packages/react-native-broadcast/.watchmanconfig @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/packages/react-native-broadcast/README.md b/packages/react-native-broadcast/README.md new file mode 100644 index 0000000000..784f012f08 --- /dev/null +++ b/packages/react-native-broadcast/README.md @@ -0,0 +1,70 @@ +# react-native-broadcast + +a + +## Installation + +```sh +npm install react-native-broadcast +``` + +## Usage + +### BroadcastVideoView Component + +Display the local video preview from the broadcast mixer: + +```tsx +import { BroadcastVideoView, multiply } from 'react-native-broadcast'; +import { View, StyleSheet, Button } from 'react-native'; + +function App() { + const startBroadcast = async () => { + // This will initialize the mixer and start the RTMP broadcast + await multiply(3, 7); + }; + + return ( + + +