Local Kit App Streaming#
Overview#
The information below explains the process for streaming a containerized Kit App locally for testing and validation.
Prerequisites#
A Linux (Ubuntu) workstation with a GPU and Docker installed
Installation of the NVIDIA Container Toolkit
Node.js installed
A containerized Kit App
Scaffold a Web Client#
Use Create OV WebRTC App to generate a web client configured for local streaming:
npx @nvidia/create-ov-web-rtc-app --name my-local-client --sample local-sample
cd my-local-client
npm install
Launch the Containerized Kit App Locally#
Launch the container locally using the following command:
docker run --gpus all --net=host <name_of_your_app>:<tag>
Configure the Signaling Server#
The generated project connects to 127.0.0.1 by default. If the container is running on a
different machine, update the server value in the stream config to the IP address of the
machine running the container.
Connect to the Kit App#
Run the development server:
npm run dev
Navigate to http://localhost:5173/ in a Chromium-based browser to view the stream.