Postby FL53 » 07 Jun 2018 11:04
I have posted bug reports for those 2 issues.
I checked some elements before posting to better explain the errors. You'll find here my conclusions:
- ambisonic sound seems to make something wrong into libVLC mediaplayer since libvlc_media_player_stop generates an error. I did not find a way to make it work even using the default instance of VLC and the video and then calling stop method on mediaplayer.
- when the default video output is not used (using callbacks to generate a texture for instance), libvlc_video_upadte_viewpoint is not woking any more (with default output it is OK, I can update the viewport without any problem). Using custom video output, ambisonic sound cannot be updated so. But to do HMD integration, it is really pertinent to use libVLC such a way (using custom output) to "inject" textures calculated from video stream (using loc/unlock callbacks) into the HMD API method. A way to update the viewpoint without taking into account the video output should be considered or a method to update viewpoint only for ambisonic sound should be exposed into libVLC (maybe there is such a method but I did not find it in the documentation).