Zoom-us Wayland Screen Sharing Fix?

@brnix if you are asking me, then my solution is to use xdg-desktop-portal-wlr.
It supports only fullscreen sharing, but at least it is consistent and works solidly.

  programs.hyprland = {
    enable = true;
    portalPackage = pkgs.xdg-desktop-portal-wlr;
    withUWSM = true;
  };

@takethislove yeah, it was meant for you. Did you remove any of the other portal packages?

I have been using something like:

programs.hyprland = {
      enable = true;
      xwayland.enable = true; # Xwayland can be disabled.
      # Use Hyprland from flake to get latest version (0.51.x+) for portal/screensharing fixes
      # nixpkgs-unstable has build issues and outdated 0.49.0 version
      package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
      portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
      withUWSM = false; # testing
    };

Cheers.

@takethislove just following up. Did you remove the other portals such as the hyprland one? The funny thing, works fine in the zoom pwa on chrome.

@brnix hey! I think so. Once you set the alternative portal package in the configuration, it removes the original one. I am not 100% sure about it, though. With xdg-desktop-portal-wlr sharing works flawlessly. The only downside of it is you can share only full screen, but I am fine with that.

programs.hyprland = {
enable = true;
portalPackage = pkgs.xdg-desktop-portal-wlr;
withUWSM = true;
};

The full config: GitHub - AlexNabokikh/nix-config: NixOS, Nix-Darwin and home-manager configurations.

PWA works fine, but it has some limitations as well. I tried to use it for a month but got back to the standalone app.