DEV Community

Discussion on: Virtual Background in Android with WebRTC

Collapse
 
neilyoung profile image
neilyoung

This looks nice and logical. However, it doesn't work, if you are capturing from a SurfaceView (screen sharing). Whatever I do, the YUV plane contains just 16 in Y and -128 in U and V. Sounds strange, but is what it is.

Collapse
 
ashishk07584129 profile image
Ashish Kumar verma

We have not tried capturing from surfaceView, will definitely check it @neilyoung .
Thanks for the input