Jump to content
  • 0

UnitySDK stream to sphere on Android

Michele Castelletti


Hello everyone!

we've been trying to use the plugin you provided to have a 360-video stream on a sphere.
We've made it work with iOS, but we're now having huge problems with Android as it just shows a blank texture.
The log just shows "Stats" being invoked, but nothing else.

We're currently using the script you provided with a few alterations (see attachment)

But it doesn't seem to work properly for Android, while it works very well on iOS.

Anybody tried doing something like this? Anyone actually made it work?
Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

We actually managed to get to the point where the app probably connects as we're seeing the current message logged:

OnNotify: {"candidate":"candidate:417870047 1 udp 2122260223 48382 typ host generation 0 ufrag +IH5 network-id 1","streamId":"stream1","label":0,"id":"audio","command":"takeCandidate"}

quickly followed by:


[EGL] eglDestroySurface(m_EGLDisplay, m_EGLSurface): EGL_BAD_SURFACE: An EGLSurface argument does not name a valid surface (window, pixel buffer or pixmap) configured for GL rendering.

What does this mean? is it connecting and then it fails to render incoming video?


Link to comment
Share on other sites

  • 0

I don't have vast knowledge on Unity side but is it possible to be a device incompatability maybe? Is it possible that you can try with different devices? Also found this: https://stackoverflow.com/questions/55363391/eglswapbuffers-fails-with-egl-bad-surface-when-using-a-surface-from-mediacodec

Are you using different egl versions?



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...