Documentation Index
Fetch the complete documentation index at: https://docs.reactor.inc/llms.txt
Use this file to discover all available pages before exploring further.
What is a track?
A track is a named media stream between your app and the model. Tracks carry video, audio, or any other data the model expects or produces. Every track has a name that both sides use to identify it.Server-driven track configuration
Track configuration is server-driven. When you connect to a model, the server declares the available tracks in its capabilities. Your app does not need to declare tracks up front. The SDK reads the model’s capabilities and sets up the WebRTC connection accordingly. You can inspect the available tracks after connecting:name, kind ("video" or "audio"), and direction ("recvonly" or "sendonly"):
recvonlytracks are outputs from the model to your app (e.g. generated video).sendonlytracks are inputs from your app to the model (e.g. webcam feed).
Output tracks (model to app)
The SDK receives the model’s output tracks automatically. Read them by name once the track arrives.Input tracks (app to model)
Some models accept input tracks (e.g. a webcam feed for video-to-video transformation). Publish a media track to the model once connected. The JavaScript variant captures the webcam withgetUserMedia; in React the WebcamStream component captures and publishes for you.