Configuring virtual environments

A virtual environment configuration connects applications that form a virtual environment:

  • Streaming applications that send content

  • Receiving application that receives and displays the streamed content

To configure a virtual environment:

  1. In the Kanzi Studio project of the receiving application, in the Node Tree, select the Receiver Node where you want to show content. In the Properties, set the Stream ID property to the ID of the stream that you want to receive.

    ../_images/node-tree-example-dashboard-cluster-screen.png ../_images/properties-example-dashboard-cluster-screen.png
  2. If you want to stream content from more than one node, in the Kanzi Studio project of the streaming application, in the Node Tree select the node whose content you want to stream. In the Node Components > Streaming, in the Streaming Component, set the name for each stream in the Stream ID property.

    ../_images/node-tree-stream-sender-example-cluster.png ../_images/node-components-stream-sender-example-cluster.png
  3. In the <KanziWorkspace>/Engine/plugins/kanzi-vr/launcher directory, run the Kanzi VR Launcher and click New.

    ../_images/launcher-new.png
  4. In the Virtual environment configuration dialog set:

    General

    • Location to the directory where you want to store the configuration for this virtual environment

    • Name to the name that you want to use for this virtual environment

    • (Optional) If you store binary dependencies for the receiving or streaming applications in a location that is not in your PATH, add that path to the Extra paths.

    Receiving Application

    • Kzb to the kzb file that your receiving application uses

      If your receiving application uses more than one kzb file, list the kzb files in a kzb.cfg file.

    ../_images/launcher-receiving.png
  5. In the Streaming Applications section, click Add stream and set:

    • Kzb to the kzb file that you want to stream in the receiving application

      If your streaming application uses more than one kzb file, list the kzb files in a kzb.cfg file.

    • Stream ID to the stream ID that you set in the Receiver Node.

      If one streaming application creates more than one stream, separate the stream IDs with a comma.

    • (Optional) If you manually launch the streaming application from a different device, click Remote and set:

      • Host to the hostname or IPv4 address of the stream

      • Port to the port of the stream

    ../_images/launcher-streaming.png
  6. Click Save.

    ../_images/launcher-save.png

To start the virtual environment that you configured, click Launch.

../_images/launcher-launch.png

See also

Starting stream-enabled virtual environments