Bug 476574

Summary: Video Stream Freezes Soon After Beginning
Product: [Applications] XWaylandVideoBridge Reporter: Joshua Fern <joshuafern>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: aleixpol, kde, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joshua Fern 2023-11-05 09:28:56 UTC
SUMMARY
When streaming on Discord with XWaylandVideoBridge the stream freezes completely within seconds of starting.


STEPS TO REPRODUCE
1. Make sure XWaylandVideoBridge is running.
2. Start screensharing in Discord
3. Select the Screen tab and then "Screen 0 at 0, 0 (1920x1080) (eDP-1)"
4. Select the newly created XWaylandVideoBridge screen to broadcast.

OBSERVED RESULT
The preview window of the screenshare on Discord freezes very quickly.

EXPECTED RESULT
The screenshare should not freeze.

SOFTWARE/OS VERSIONS
Nixpkgs: 8efd5d1e283604f75a808a20e6cde0ef313d07d4
Xwayland: 23.2.1
Discord (Flatpak): Stable 243588 (0168cc1) Host 0.0.32 x64 Linux 64-Bit (6.5.8-Zen1)
Hyprland: 07714dd5bd9ff60e10170e11b535409e1bbc92ef

ADDITIONAL INFORMATION
I'm using a derivation created by myself:
```
{ stdenv
, lib
, fetchFromGitLab
, cmake
, extra-cmake-modules
, qt5
, libsForQt5
}:

let inherit (lib) getBin getLib; in


stdenv.mkDerivation rec {
  pname = "xwaylandvideobridge";
  version = "unstable-2023-11-04";

  src = fetchFromGitLab {
    domain = "invent.kde.org";
    repo = "xwaylandvideobridge";
    owner = "system";
    rev = "cfb3ec6c9242a4aaaacc3df160292450d21516d2";
    sha256 = "sha256-D4Z4u90q3AtDz2kBnpk+zFr3YCM+CO8fA5jjkUkLnN0=";
  };

  nativeBuildInputs = [
    qt5.wrapQtAppsHook
    cmake
    extra-cmake-modules
  ];

  buildInputs = [
    qt5.qtbase
    qt5.qtquickcontrols2
    qt5.qtx11extras
    libsForQt5.kdelibs4support
    libsForQt5.kwidgetsaddons
    libsForQt5.kpipewire
    libsForQt5.knotifications
  ];

  meta = with lib; {
    name = "xwaylandvideobridge";
    description = "XWayland Video Bridge";
    homepage = "https://invent.kde.org/system/xwaylandvideobridge";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ joshuafern ];
  };
}
```
Comment 1 Nate Graham 2025-03-17 15:48:23 UTC
This project is end-of-life and has been archived; closing all open bug reports. Thanks for using it, folks!