Michele Castelletti Posted July 7, 2021 Share Posted July 7, 2021 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 More sharing options...
0 Michele Castelletti Posted July 8, 2021 Author Share Posted July 8, 2021 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 10.16.0.12 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 More sharing options...
0 Michele Castelletti Posted July 8, 2021 Author Share Posted July 8, 2021 Important thing to keep in mind: while the video Recvonly streaming is not working and makes the app crash, the AudioStreaming is working properly in both ways. So I really think the problem isn't in the server, but rather in the plugin itself. Link to comment Share on other sites More sharing options...
0 Enes Kuluk Posted July 8, 2021 Share Posted July 8, 2021 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? Enes. Link to comment Share on other sites More sharing options...
0 Michele Castelletti Posted July 8, 2021 Author Share Posted July 8, 2021 We tried on 4 different devices, all of them give the same result. Also, we're currently using both OpenGLES3.0 and OpenGLES2.0 in this order Link to comment Share on other sites More sharing options...
Question
Michele Castelletti
Link to comment
Share on other sites
Top Posters For This Question
4
1
Popular Days
Jul 8
4
Jul 7
1
Top Posters For This Question
Michele Castelletti 4 posts
Enes Kuluk 1 post
Popular Days
Jul 8 2021
4 posts
Jul 7 2021
1 post
4 answers to this question
Recommended Posts