Please Select Your Location
Australia
Österreich
België
Canada
Canada - Français
中国
Česká republika
Denmark
Deutschland
France
HongKong
Iceland
Ireland
Italia
日本
Korea
Latvija
Lietuva
Lëtzebuerg
Malta
المملكة العربية السعودية (Arabic)
Nederland
New Zealand
Norge
Polska
Portugal
Russia
Russia
Saudi Arabia
Southeast Asia
España
Suisse
Suomi
Sverige
台灣
Ukraine
United Kingdom
United States
Please Select Your Location
België
Česká republika
Denmark
Iceland
Ireland
Italia
Latvija
Lietuva
Lëtzebuerg
Malta
Nederland
Norge
Polska
Portugal
España
Suisse
Suomi
Sverige

Running Marker-Based Scene Alignment with VIVE Business Streaming

Run Marker-Based Scene Alignment with VIVE Business Streaming for setups that use PC VR headsets.
  1. Set up the headsets you'll use in the play area. See Setting up the headsets.
  2. Set up Marker-Based Scene Alignment. See Setting up Marker-Based Scene Alignment.
  3. On your PC, open VIVE Business Streaming, then go to Advanced > Program and turn on Beta.
  4. Connect your headset to your computer using a USB Type-C cable.
  5. In VIVE Business Streaming on your PC, go to About and click Install to update VIVE Business Streaming on your headset.
  6. Open SteamVR and start streaming your desired app or game.
  7. Call the following API. This API tells the app or game you're streaming which ArUco markers you're using.
    string key = "‍ GetParameters PLAYER00InitMA"‍;
    // default path: C:\Users\{USERNAME}\Data\markers_list.json
    string filePath = Environment.ExpandEnvironmentVariables(@"‍%USERPROFILE%\Data\markers_list.json"‍); 
    string setting = File.ReadAllText(filePath);
    setting = setting.Replace("‍\n"‍, "‍"‍).Replace("‍ "‍, "‍"‍); // setting string must remove space
    key += setting;
    uint RETURN_SIZE = 256;
    StringBuilder value = new StringBuilder("‍"‍, Convert.ToInt32(RETURN_SIZE));
    OpenVR.Debug.DriverDebugRequest((uint)DeviceType.HMD, key, value, RETURN_SIZE);
    string result = value.ToString();
    if (string.Compare(result, "‍InitMAErr"‍) == 0)
    {
       // write your error handling code here
    }
    
    Note: Make sure to insert the correct file path for the JSON file associated with your ArUco markers.
Note:

Scene alignment is not affected by SteamVR activity, including switching games or apps, closing a game or app and returning to SteamVR home, or restarting SteamVR.

Submit
Thank you! Your feedback helps others to see the most helpful information.