Skip to content

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

Open
@imablanco

Description

@imablanco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions