Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

How To Use Multiple Android Surface's In Unity Using OVR

Im want to play multiple players (ExoPlayer) in my Unity VR app. Single player I am already done. But how can I create multiple players (Android Surface's actually).

I know about this functions:

OVR_Media_Surface_Init();
OVR_Media_Surface_SetEventBase(int eventBase);
OVR_Media_Surface_GetObject();
OVR_Media_Surface_GetNativeTexture();
OVR_Media_Surface_SetTextureParms(int texWidth, int texHeight);

But OVR_Media_Surface_GetObject return the same surface for all players.

Sign In or Register to comment.