Cannot find interface IVRCameraComponent
I am using HTC VIVE Pre. I copied the related code with this interface from openvr_driver.h to openvr.h, and tried to get the IVRCameraComponent interface with VR_GetGenericInterface, but it returned an "Interface not found" error.
I have also tried the IVRTrackedCamera interface in older versions, say, 0.9.11. I can get the resolution of the frame, and EnableCameraForStreaming and StartVideoStream both return true. However, the program crashes when GetVideoStreamFrame or IsVideoStreamActive is called.
I know that IVRCameraComponent is still "in flux". Does that mean it is not available? When could this interface become available? Or, could I work with older interface to get the video stream from the front-facing camera, and how? Thanks.