Make our own twitch stream viewer

Thanks for the info,

What if I wanted to play a stream without using embed? Im using HTML5 WebGL canvas in the browser, but WebGL doesnt have embed capability just a raw canvas. So the only way is to take the twitch stream and make my own player using WebGL and show it in the canvas myself. Is this allowed?