From 1d9214eb90def2cbc93068edaf80b3ff84034306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Mon, 23 Sep 2024 16:32:31 +0200 Subject: [PATCH 1/8] Filled missing information in react-native-client package.json --- packages/react-native-client/package.json | 25 +++++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/packages/react-native-client/package.json b/packages/react-native-client/package.json index b3f8e500..9c9029a9 100644 --- a/packages/react-native-client/package.json +++ b/packages/react-native-client/package.json @@ -1,7 +1,7 @@ { "name": "@mobile-whep/react-native-client", "version": "0.1.0", - "description": "My new module", + "description": "An implementation of WHIP and WHEP protocols functionalities for React Native.", "main": "build/index.js", "types": "build/index.d.ts", "scripts": { @@ -17,17 +17,24 @@ }, "keywords": [ "react-native", - "expo", - "react-native-client", - "ReactNativeMobileWhepClient" + "WHIP", + "WHEP", + "WebRTC", + "streaming", + "video", + "audio" ], - "repository": "https://", + "repository": { + "type": "git", + "url": "git+https://github.com/software-mansion-labs/mobile-whep.git", + "directory": "packages/react-native-client" + }, "bugs": { - "url": "https:///issues" + "url": "https://github.com/software-mansion-labs/mobile-whep/issues" }, - "author": "Software Mansion <83274413+gredajustyna@users.noreply.github.com> ()", + "author": "Software Mansion", "license": "MIT", - "homepage": "https://#readme", + "homepage": "https://github.com/software-mansion-labs/mobile-whep", "devDependencies": { "@types/react": "^18.0.25", "expo-module-scripts": "^3.5.2", @@ -39,4 +46,4 @@ "react": "*", "react-native": "*" } -} +} \ No newline at end of file From d8766d94aa517f96e0a9cdcb9353bde2f46cc06c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:16:44 +0200 Subject: [PATCH 2/8] Create LICENSE --- LICENSE | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..6814a498 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Software Mansion + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file From 15b3f27718c5fe6b12a9a826f742f1acac8d46ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:16:56 +0200 Subject: [PATCH 3/8] Update LICENSE --- LICENSE | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 6814a498..f9b28868 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016 Software Mansion +Copyright (c) 2024 Software Mansion Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file +SOFTWARE. From 39bf04a6f46123402080919de9d98405eec34777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Tue, 24 Sep 2024 11:30:05 +0200 Subject: [PATCH 4/8] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 659ba79e..31c06140 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,19 @@ # WHIP/WHEP Mobile Client Monorepo containing mobile SDKs for WHIP/WHEP client + - [Android](https://github.com/software-mansion-labs/mobile-whep/tree/main/packages/android-client) - [iOS](https://github.com/software-mansion-labs/mobile-whep/tree/main/packages/ios-client) - [React Native](https://github.com/software-mansion-labs/mobile-whep/tree/main/packages/react-native-client) -For documentation and examples of usage, check out the [examples](https://github.com/software-mansion-labs/mobile-whep/tree/main/examples) folder. It contains simple apps showing the usage and providing some documentation for each platform. +For documentation and examples of usage, check out the [examples](https://github.com/software-mansion-labs/mobile-whep/tree/main/examples) folder. It contains simple apps showing the usage and providing some documentation for each platform. A WHIP/WHEP server is necessary in order to use the SDKs. We recommend [ex-webrtc](https://github.com/elixir-webrtc/ex_webrtc/tree/master/examples/whip_whep) server as it was used during development and testing. + +## Copyright and License + +Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +Licensed under the [MIT License](LICENSE) From f12d8fee4e44051daa219785ff4c6560d9c89262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Wed, 25 Sep 2024 09:49:47 +0200 Subject: [PATCH 5/8] Added LICENSE and information about it in READMEs of all three packages --- packages/android-client/LICENSE | 21 +++++++++++++++++++++ packages/android-client/README.md | 8 ++++++++ packages/ios-client/LICENSE | 21 +++++++++++++++++++++ packages/ios-client/README.md | 8 ++++++++ packages/react-native-client/LICENSE | 21 +++++++++++++++++++++ packages/react-native-client/README.md | 8 ++++++++ 6 files changed, 87 insertions(+) create mode 100644 packages/android-client/LICENSE create mode 100644 packages/ios-client/LICENSE create mode 100644 packages/react-native-client/LICENSE diff --git a/packages/android-client/LICENSE b/packages/android-client/LICENSE new file mode 100644 index 00000000..f9b28868 --- /dev/null +++ b/packages/android-client/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2024 Software Mansion + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/android-client/README.md b/packages/android-client/README.md index dabe4e37..584a75b8 100644 --- a/packages/android-client/README.md +++ b/packages/android-client/README.md @@ -21,3 +21,11 @@ The `examples/android` folder provides an example app that allows to stream medi ## Usage In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. + +## Copyright and License + +Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +Licensed under the [MIT License](LICENSE) diff --git a/packages/ios-client/LICENSE b/packages/ios-client/LICENSE new file mode 100644 index 00000000..f9b28868 --- /dev/null +++ b/packages/ios-client/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2024 Software Mansion + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/ios-client/README.md b/packages/ios-client/README.md index fb13ad69..40c9ebe1 100644 --- a/packages/ios-client/README.md +++ b/packages/ios-client/README.md @@ -20,3 +20,11 @@ The `examples/ios` folder provides an example app that allows to stream media us ## Usage In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. + +## Copyright and License + +Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +Licensed under the [MIT License](LICENSE) diff --git a/packages/react-native-client/LICENSE b/packages/react-native-client/LICENSE new file mode 100644 index 00000000..f9b28868 --- /dev/null +++ b/packages/react-native-client/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2024 Software Mansion + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/react-native-client/README.md b/packages/react-native-client/README.md index 9b6bebaa..90dc0c5b 100644 --- a/packages/react-native-client/README.md +++ b/packages/react-native-client/README.md @@ -11,3 +11,11 @@ The `examples/react-native` folder provides an example app that allows to stream ## Usage In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. + +## Copyright and License + +Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) + +Licensed under the [MIT License](LICENSE) From b85399f05e087cb42b578848826d923d18ae8149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:00:53 +0200 Subject: [PATCH 6/8] Modified React Native example README --- examples/react-native/WhipWhepDemo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/react-native/WhipWhepDemo/README.md b/examples/react-native/WhipWhepDemo/README.md index 112c4dda..88f5fcaa 100644 --- a/examples/react-native/WhipWhepDemo/README.md +++ b/examples/react-native/WhipWhepDemo/README.md @@ -36,7 +36,7 @@ yarn build 3. Run this command in the project root directory to install node_modules, initialize native package directories and install cocoapods: ``` -yarn prepare +yarn prepare:example ``` 4. Start Metro bundler in `examples/react-native/WhipWhepDemo` directory: From 8a07df7df19b9518dd4d3891ed368ab3210c6b4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:19:33 +0200 Subject: [PATCH 7/8] Upgraded main README file --- packages/react-native-client/README.md | 92 +++++++++++++++++++++++++- 1 file changed, 89 insertions(+), 3 deletions(-) diff --git a/packages/react-native-client/README.md b/packages/react-native-client/README.md index 90dc0c5b..f3ed9849 100644 --- a/packages/react-native-client/README.md +++ b/packages/react-native-client/README.md @@ -1,17 +1,103 @@ -# WHIP/WHEP react-native-client +# react-native-whip-whep An implementation of WHIP and WHEP protocols for React Native. Provides basic methods for establishing a connection in order to stream or receive media. This repository is an expo module that makes use of native Android and iOS packages and allows to use them in a React Native App with the code provided in `src/ReactNativeMobileWhepClientModule.ts` and the exports in `src/index.ts`. It also provides two simple native views - `WhepClientView` and `WhipClientView` to show the stream or camera preview. -## Examples +## Setup -The `examples/react-native` folder provides an example app that allows to stream media using phone's default video and audio devices and receive remote stream. +``` +$ npm install --save react-native-whip-whep +# --- or --- +$ yarn add react-native-whip-whep +``` + +It is necessary to configure app permissions in order to stream a preview from the camera or sound: + +### Android + +Modify `app.json` file to request necessary permissions: + +```json +{ + "expo": { + ... + "android": { + ... + "permissions": { + "android.permission.CAMERA", + "android.permission.RECORD_AUDIO" + } + } + } +} +``` + +### iOS + +Add the following lines to `app.json`: + +```json +{ + "expo": { + ... + "ios": { + ... + "infoPlist": { + "NSCameraUsageDescription": "This application requires camera access to gather information about available video devices.", + "NSMicrophoneUsageDescription": "This application requires microphone access to gather information about available audio devices." + } + }, + } +} +``` ## Usage In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. +## Examples + +The `examples/react-native` folder provides an example app that allows to stream media using phone's default video and audio devices and receive remote stream. + +To create a WHEP client able to receive media stream use the following code. It requires a server URL and takes optional parameters, such as `authToken`, `audioEnabled`, `videoEnabled` (both of which defaults to true), `stunServerUrl` and `videoParameters`: + +```typescript +createWhepClient(, { + authToken: "example", +}); +``` + +To receive a stream, simply connect the client to the server: + +```typescript +await connectWhepClient(); +``` + +After the stream is finished, it is recommended to disconnect the client to free the resources: + +```typescript +disconnectWhepClient(); +``` + +The process of creating a WHIP client is similar to the WHEP one, but the function takes one more parameter: a `videoDevice` that will be used to stream the video to the server. `react-native-whip-whep` shares a property to obtain all available video devices: + +```typescript +import { cameras } from "@mobile-whep/react-native-client"; + +const availableDevices = cameras; +``` + +```typescript +createWhipClient( + , + { + authToken: "example", + }, + availableDevices[0].id, +); +``` + ## Copyright and License Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) From 455b3ff3c46b6f87ece89d80a66910c94d7c93b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Justyna=20Gr=C4=99da?= <83274413+gredajustyna@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:47:30 +0200 Subject: [PATCH 8/8] Changed license and copyright template --- README.md | 10 ++++++---- packages/android-client/README.md | 10 ++++++---- packages/ios-client/README.md | 10 ++++++---- packages/react-native-client/README.md | 18 +++++++++++++++--- 4 files changed, 33 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 31c06140..711b070f 100644 --- a/README.md +++ b/README.md @@ -10,10 +10,12 @@ For documentation and examples of usage, check out the [examples](https://github A WHIP/WHEP server is necessary in order to use the SDKs. We recommend [ex-webrtc](https://github.com/elixir-webrtc/ex_webrtc/tree/master/examples/whip_whep) server as it was used during development and testing. -## Copyright and License +## License -Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +Licensed under the [MIT License](LICENSE) -[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +## React Native Whip Whep is created by Software Mansion -Licensed under the [MIT License](LICENSE) +Since 2012 [Software Mansion](https://swmansion.com) is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – [Hire us](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme). + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme) diff --git a/packages/android-client/README.md b/packages/android-client/README.md index 584a75b8..855d17fc 100644 --- a/packages/android-client/README.md +++ b/packages/android-client/README.md @@ -22,10 +22,12 @@ The `examples/android` folder provides an example app that allows to stream medi In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. -## Copyright and License +## License -Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +Licensed under the [MIT License](LICENSE) -[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +## Android Whip Whep is created by Software Mansion -Licensed under the [MIT License](LICENSE) +Since 2012 [Software Mansion](https://swmansion.com) is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – [Hire us](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme). + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme) diff --git a/packages/ios-client/README.md b/packages/ios-client/README.md index 40c9ebe1..c813546b 100644 --- a/packages/ios-client/README.md +++ b/packages/ios-client/README.md @@ -21,10 +21,12 @@ The `examples/ios` folder provides an example app that allows to stream media us In order to use the package functionalities and run the example app, a WHIP/WHEP server is necessary. It is recommended to use the [WHIP/WHEP server](https://github.com/elixir-webrtc/ex_webrtc/tree/9e1888185211c8da7128db7309584af8e863fafa/examples/whip_whep) provided by `elixir-webrtc`, as it was utilized during the development. -## Copyright and License +## License -Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +Licensed under the [MIT License](LICENSE) -[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +## iOS Whip Whep is created by Software Mansion -Licensed under the [MIT License](LICENSE) +Since 2012 [Software Mansion](https://swmansion.com) is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – [Hire us](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme). + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme) diff --git a/packages/react-native-client/README.md b/packages/react-native-client/README.md index f3ed9849..33b6a1df 100644 --- a/packages/react-native-client/README.md +++ b/packages/react-native-client/README.md @@ -98,10 +98,22 @@ createWhipClient( ); ``` -## Copyright and License +The connection and disconnection process is comparable to the WHEP one: -Copyright 2024, [Software Mansion](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +```typescript +await connectWhipClient(); +``` + +```typescript +disconnectWhipClient(); +``` -[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/?utm_source=git&utm_medium=readme&utm_campaign=whip-whep-client) +## License Licensed under the [MIT License](LICENSE) + +## React Native Whip Whep is created by Software Mansion + +Since 2012 [Software Mansion](https://swmansion.com) is a software agency with experience in building web and mobile apps. We are Core React Native Contributors and experts in dealing with all kinds of React Native issues. We can help you build your next dream product – [Hire us](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme). + +[![Software Mansion](https://logo.swmansion.com/logo?color=white&variant=desktop&width=200&tag=react-client)](https://swmansion.com/contact/projects?utm_source=whip-whep-client&utm_medium=mobile-readme)