Open /samples/play/src/Play.tsx file and update defaultStreamName variable for stream name and update webSocketUrl variable with server name.You can also quickly play the stream via Play stream from your sample React Native app You can now go to the web panel of Ant Media Server (e.g and watch the stream there.After clicking the Start Publishing button, the stream will be published on Ant Media Server. Tap Start Publishing button on the screen.
#FREE GENERALS ZERO HOUR DOWNLOAD INSTALL#
Run the sample WebRTC React Native app Publish a stream from your sample React Native WebRTC app Note: If you want to use npm, then follow only npm commands and if you want to use yarn then follow only yarn commands.Īfter the project starts successfully, a WebRTC React Native sample app will appear on the device/emulator.
To install dependencies by yarn run yarn installĪfter dependencies are installed, you need to run the commands below in order to run the project itself. To install dependencies by npm run npm install Install dependencies and run sample projectsįor installing dependencies you can use npm or as an alternative method, you can also use yarn.įirst, you need to open the terminal on the root directory of the sample project you want to install and then run the commands below.