title: How to render an Agora.io feed to a WebCamtexture in Unity?
body: <p>How should I implement the conversion?</p>
  <p>As far as I got, the <strong>VideoSurface.cs</strong> contains all the rendering and texture code. From there it seems like the texture used in Agora.io is Texture2D, which is a private variable.</p>
  <p><a href="https://i.stack.imgur.com/5urI5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5urI5.png" alt="private variable" /></a></p>
  <p>The only solution I found was the <em><strong>Graphics.Blit</strong></em> function and making the Texture2D variable public to access it, but I don't know whether if it will work or not, because it would mean a lot of rewrite to try and I would like to go with the most possibly successful route forward.</p>
  <p>The best solution would be to not even use this Agora.io rendering, but rather render the incoming videostream directly to a WebCamTexture, without the need to copy the textures.</p>