Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Latest commit

 

History

History

react-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Rainway Web SDK React demo

Try it here!

This is an example application that you can use both as a reference for how to integrate Rainway into your React application, and to give Rainway a try before you start developing with it.

Usage

You'll need an API key and a host demo app running on some Windows 10 PC.

Enter your API key in the Web demo, click Connect to Rainway, then connect to your host app's Peer ID.

A widget will pop up that you can use to request a stream (of the remote desktop, or the isolated app chosen by the host).

Project structure

Demo.tsx defines the component for the full app, which manages the RainwayRuntime instance. It renders zero or more Widget.tsx components, each managing a Rainway peer-to-peer connection.

Credits

Icons from Hero Icons (under the MIT license).