Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sealfoss's avatar
sealfoss
Explorer
3 years ago

Using Native Libraries (gstreamer) on Oculus Quest II

My goal is to stream video over udp on a LAN and view it with my Oculus quest. I'm using gstreamer to set up the stream on my network, I'd like to use the same software to view the stream on my Quest. I've tried a couple of different ways to do this. The first is the GStreamerUnity plugin for Unity. This runs fine on desktop, and I can even deploy it to Oculus quest via provided .so files. However, the application silently dies (according to logcat) at plugin loading. I gave Unreal Engine a shot with the UE4-Gstreamer plugin for Unreal 4.26 but I ran into the same problem - runs fine on desktop, silently dies on quest even with static ARM64 android .a files included via the plugin build.cs.

So, first question: Are these libraries NOT dying silently, is there some messaging you all might be aware of that I'm missing for debugging purposes?

Secondly, my intuition tells me this is probably an NDK mismatch problem or something? As in, the libraries I'm using are compiled with one version of the NDK (or whatever) and are throwing errors, even though the application itself was built with the correct versions of everything. Does that sound reasonable?

Finally, has anyone gotten low latency video streaming to work on Oculus Quest in their Unity or Unreal application via GStreamer, FFMPEG, or some other means? Would you mind sharing the magic?

3 Replies

  • Anonymous's avatar
    Anonymous

    Hi, 

    Facing the same problem here, have you gotten this any further?

    Thanks!

  • hkrept's avatar
    hkrept
    Honored Guest

    Hi sealfoss, have you resolved the issue about calling the .so library? I'm having the same problem, if you've found a solution, could you share it with me? Thanks!

  • Hi

    In case you find it useful, we have developed a Unity application for MetaQuest running a GStreamer plugin under the hood. The application is intended for low-latency streaming using RTSP. Here you can find more information.

    Feel free to contact us at support@ridgerun.com if you want to know more.