Skip to content
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

ScreenCapturerAndroid.changeCaptureFormat sometimes causes cast to stop working. #82

Open
imablanco opened this issue Oct 25, 2023 · 0 comments

Comments

@imablanco
Copy link

Hello, we are currently using this lib to peer with a web client using ScreenCapturerAndroid to stream the user screen.

Every time the user rotates the phone we are calling changeCaptureFormat with new screen dimensions but sometimes (we are not able to find a pattern) this causes casting to stop working.

I attach some of the logs we see when this error occurs.

[SurfaceTexture-1-15488-0](id:3c8000000003,api:1,p:361,c:15488) connect: already connected (cur=1 req=1)
[SurfaceTexture-1-15488-0](id:3c8000000003,api:0,p:-1,c:15488) dequeueBuffer: BufferQueue has no connected producer
[SurfaceTexture-1-15488-0](id:3c8000000003,api:0,p:-1,c:15488) disconnect: not connected (req=1)

Any clue of what can be the issue or if this is an already known bug?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant