A minimal sample application that uses the Pixel Streaming library in React.
- A minimal React application with a Pixel Streaming wrapper component
- Starts a Pixel Streaming session on wrapper component mount
- Disconnects the session on wrapper component unmount e.g. if navigating to another view in a single page app
- Hooks to
playStreamRejectedevent and displays aClick to playoverlay if the browser rejects video stream auto-play
To build and run the React application, run:
npm installnpm run build-allnpm run serve