We have used the video rendering example supplied with the Oculus libraries on Unity3d. It works great with any stream that does not require a secure surface - for example a simple URL stream.
However, we need to be able to use a secure surface since we will be rendering DRM protected videos.
The example given uses a TextureView for the rendering. This is not a secure surface and therefore can not be used - exoplayer refuses to do so. The only way around at the moment is to lower the security level but this is totally unacceptable.
So, is there a way to use a plain Surface instead of a TextureView and, if so, how exactly do we go about it? We used the same structure of code as in the sample.