I'm currently trying to draw some DRM content with WebGL. I've already managed to draw normal and simple content without DRM but drawing DRM content only displays a black screen. I'm following these functions: https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/texSubImage2D in order to render my stuff. Does someone know why? Has someone tried this before? Thank you!
this._gl.bindTexture(this._gl.TEXTURE_2D, webGLTexture);
this._gl.texSubImage2D(this._gl.TEXTURE_2D, 0, 0, 0, this._gl.RGBA,
this._gl.UNSIGNED_BYTE, video);
this._gl.bindTexture(this._gl.TEXTURE_2D, null);