twilio / twilio-video-processors.js

Twilio Video Processors is a collection of video processing tools which can be used with Twilio Video JavaScript SDK to apply transformations and filters to a video track.
Other
33 stars 21 forks source link

Video distorted on orientation change #67

Open Talb2005 opened 1 year ago

Talb2005 commented 1 year ago

On mobile / tablet, when changing the device orientation (portrait <-> landscape) the processed video output becomes distorted. The issue occurs on both GaussianBlurBackgroundProcessor and VirtualBackgroundProcessor.

The issue is reproducable on .

Expected behavior:

Changing the screen orientation should not cause distortion of the processed video output.

Actual behavior:

Changing the screen orientation causes distortion of the processed video output.

Software versions:

MollyJeanB commented 11 months ago

I am seeing this issue as well. i was able to resolve it with the VirtualBackgroundProcessor by listening for device orientation changes and re-adding the processor to the video at that point, but the same approach did not work for the GaussianBlurBackgroundProcessor.