libwebrtc icon indicating copy to clipboard operation
libwebrtc copied to clipboard

Crash in desktop_device_->GetDesktopMediaList on Linux under Wayland

Open Airyzz opened this issue 7 months ago • 0 comments

While working with flutter-webrtc I noticed a crash coming from this function, when attempting to get screen share sources on linux, with wayland. It does not crash under X11

Thread 55 "Thread 0x0x40fd" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa757e6c0 (LWP 45546)]
0x00007ffff2b4a67d in void rtc::FunctionView<void ()>::CallVoidPtr<libwebrtc::RTCDesktopMediaListImpl::RTCDesktopMediaListImpl(libwebrtc::DesktopType, rtc::Thread*)::$_0>(rtc::FunctionView<void ()>::VoidUnion) ()

Airyzz avatar Apr 25 '25 04:04 Airyzz