-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
video-processor pipeline WebGL2 throws TypeError: can't access property "VERTEX_SHADER", gl is null #62
Comments
I managed to find the root cause for this. The default There are 2 ways to fix this:
I only managed to find this out by reading through the example. *Canvas2D might not have full functionality with Safari - the Gaussian Blur didn't work for Safari 16.5.1 MacOS (haven't tested others) |
@alex93293 Thank you for this! This looks like a work around. Is the Twilio video processor team going to release an actual fix for this issue? |
Also worked for me! Does anyone knows which one should we be using? (webgl2 or canvas2d) I mean, since the defaults are different for As a sidenote, I'm sticking with canvas2d for now, since webgl2 completely ignores the |
I had the same issue when I upgraded to v2.0.0. Edit: It seems for higher resolution it is slow. width: 1280, height: 720, |
Thanks for reporting this issue. We just released the v3.x of the video processors, where the Canvas2D and WebGL2 pipelines have been replaced by a hybrid pipeline. Please update to the most recent version. If you continue to experience any problems after upgrading, please let us know, and we will be happy help you further. |
I found a bug with WebGL2.
We recently upgraded the twilio-video-processor to the latest version, 2.0.0.
With the above-updated version, the WebGL2 pipeline video background blur functionality throws a TypeError: can't access property "VERTEX_SHADER", gl is null.
Below is the screenshot of the error:
Software versions:
The text was updated successfully, but these errors were encountered: