Android screen streaming error /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Could not read from resource

Hi everyone,
I’ve faced with the problem which occurred for Android devices. I can’t start screen streaming. The error is:
ERROR: from element /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Could not read from resource.
Additional debug info:
…/plugins/elements/gstfdsrc.c(479): gst_fd_src_create (): /GstPipeline:pipeline0/GstFdSrc:fdsrc0:
poll on file descriptor: Bad file descriptor.

I checked adb screen record separately, seems like it works fine - some data appears in stdout.

OS: Windows
Appium version: 1.22.1
GStreamer: 1.0-msvc-x86_64-1.18.5

The issue is not obvious to me. Please, guide me here. Thanks.

This functionality has never been tested on Windows. It might be quite possible there are issues, because it is actively using data piping and other low-level system primitives. Try it on Linux or macOS

1 Like