React Usage Instructions
Unzip kit-streaming-sample.zip.
Navigate into the root directory of the kit-streaming-sample project.
Copy the entire kit-streaming-sample/deps into the root of your React project.
Add the deps dependency to your project
package.json
file:"dependencies": { "@nvidia/omniverse-webrtc-streaming-library": "file:./deps/@omniverse/omniverse-webrtc-streaming-library" }
Copy
kit-streaming-sample/src/AppStream.jsx
into your React App project src directory.Run typical install, build, and run processes for your project.
For Non-React Samples
Unzip
kit-streaming-sample.zip
.Navigate into the root directory of the kit-streaming-sample project.
Copy the entire
kit-streaming-sample/deps
into the root of your project.Add the deps dependency to your project package.json file:
"dependencies": { "@nvidia/omniverse-webrtc-streaming-library": "file:./deps/@omniverse/omniverse-webrtc-streaming-library" }
Currently, you will need to write your own custom web client component around the library. You can use kit-streaming-sample/src/AppStream.jsx as a reference.
Run typical install, build, and run processes for your project.