Genvid Studio Service
The Studio service exposes the Composition feature of the Genvid stack through a web interface. It can be used with either two instances of a game or with the Genvid Ingest. For this example, we use two instances of the DirectX Cube Sample Integration sample composed in different ways.
You can switch the output from one of the DirectX instances to the other, as well as create a PIP (picture-in-picture) composition. In PIP mode, you can select either of the cube samples as the inputs for the background picture or the PIP window. You can specify transitions between the two, as well as the window position.
Note
To facilitate the accessibility of services from Studio UI, a proxy (Traefik) is now deployed in local and cloud clusters. This means that Studio UI is now accessible via a static port, 8082. To know more about the implementation of Traefik, please refer to the Traefik Configuration section of the Genvid Toolbox.
Traefik Configuration for Studio
Entrypoint for Studio: Port 8082
Studio proxy setup is using dynamic configuration stored in Consul KV and service discovery using Consul Catalog. Any services required by Studio UI are exposed as a route on Studio entrypoint, using middleware to manipulate path prefix that are associated with service name in Nomad and redirecting to the right service (bins, gvencodeweb).
Services |
Description |
Root Path |
Rule |
Middlewares |
---|---|---|---|---|
Studio |
HTTP service exposing the backend for Studio UI. |
/ |
pathPrefix(/) |
|
gvencodeweb |
HTTP service exposing video file monitor.mp4 for stream monitoring in the UI. |
/gvencodeweb |
pathPrefix(/gvencodeweb) |
gvencodeweb-stripprefix.prefixes=”/gvencodeweb” |
bins |
HTTP service exposing datastore for Studio UI dashboard, scenes and compositon state. |
/bins |
pathPrefix(/bins) |
bins-striprefix.prefixes=”/bins” |
Warning
The Genvid Studio and Composition feature are provided as previews. The elements presented here will likely change in the future. The current version is only supported in Google Chrome.