Shared memory documentation

sharedmemory is an IO plugin for Vahana VR. It allows Vahana VR to send a video output (without audio) to a memory area shared with other processes. Please see Shared Memory Interface.pdf for more details.

Configuration

The sharedmemory plugin can be used by Vahana VR through a .vah project file. Please see the *.vah file format specification for additional details.

Example

  "outputs" : [
    {
      "type" : "shared_memory",
      "filename" : "shared_memory_1",
      "key" : "123456",
      "number_of_frames" : 8,
      "crop_bottom" : 0
    }
  ]

Parameters

Member Type Default value
type string shared_memory Required. Defines a shared memory output.
filename string - Required. Name of the shared memory output.
key string - Required. The key for this shared memory (platform specific).
number_of_frames int 8 Number of frames in the shared memory.
crop_bottom int 0 Number of cropped lines at the bottom of each images.