Overview
The Genvid MILE SDK lets you create Massively Interactive Live Events (MILEs) on major platforms or your own.
On a high level:
The Genvid MILE SDK is software that lets you add an interactive layer to streams you do on Twitch, YouTube, or your own custom website.
The Genvid MILE SDK relies on services hosted on your cloud-service provider to synchronize the audio, video, and game-data for you to use in your broadcasts.
The Genvid MILE SDK provides tools that let you add as much interactivity to your broadcasts on these channels as you provide data to power.
What does the Genvid MILE SDK do?
The Genvid MILE SDK lets you pass audio and video from your game through a set of cloud-hosted services (the Genvid Cluster) to a streaming platform. At the same time, it sends synchronized game-data through the services to an interactive layer which overlays the broadcast on the viewer’s browser. Finally, the SDK can pass interactive events from each viewer’s browser back through those services to the game itself.
![Basic data flow](../_images/Graph_how-it-works.png)
Fig. 1 Basic Data Flow
How do I use the Genvid MILE SDK?
To use the Genvid MILE SDK, you first integrate it into a build of your game designed to render views much like a spectator client would show. You then deploy this client to a server and either embed your stream on a website or deliver it directly through a streaming platform (Twitch, YouTube, etc.).
You then design the audience experience using the broadcast stream, allowing as much interaction with your event as you like. You provide the interaction through an overlay you create that sits on top of your broadcast.
The current implementation supports a single or limited number of streams, managed by the developer.
What can I do with the Genvid MILE SDK?
Integrating the Genvid MILE SDK with your game lets you add additional elements to your game broadcasts that are specifically designed for your viewers. Passing events back to your game gives viewers control over what they see or even become active participants.
For example, you can add a UI element to your broadcast which displays a player’s stats depending on who a viewer is watching or selecting on screen. Or let the viewer choose different cameras to watch the action from by selecting them from a list or a top-down map. You’re only limited by the type of data you send, what you design into the overlay, and your own creativity.