Basic sending application for IVI example¶
This example shows how to turn any kzb file into a sending application without modifications.
For the contents of this example, the Kanzi VR feature uses the kzb file from the “Create a simple IVI application” tutorial in the main Kanzi workspace for streaming the IVI:
<KanziWorkspace>\Tutorials\First\Completed\Application\bin\first_application.kzb
Add the path to this file to the IVI stream in the virtual environment configuration.
To start the file, use the Kanzi VR Launcher and the virtual environment configuration. See Config and startup example and Starting stream-enabled virtual environments.
Modifying the configuration¶
To switch the IVI stream to a different kzb file:
Replace the value of the
kzb
key with the path to the kzb file that you want to use.For example,
${KANZI_HOME}/Tutorials/Pages/Completed/Application/bin/pages.kzb
Restart the local applications.
To switch the IVI stream to a stream from a different device, such as a screen from an Android device:
Remove the
kzb
key.Set the value of the
host
key to match the hostname or IP address of the device. The device must be reachable on the local network.Start a stream on that device.
Restart the local applications.