Hello, im trying to use miracast but i cant get it to work:
i am on hyprland trying to use gnome-networ-display, i accept suggestions for other way to enable miracasting.
environment.systemPackages = with pkgs; [
gnome-network-displays
xd-desktop-portal-hyprland
];
networking.firewall = {
trustedInterfaces = [ "p2p-wl+" ];
allowedTCPPorts = [
7236
7250
]; # wifi direct port ?
allowedUDPPorts = [
7236
5353
];
};
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-gtk
# pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gnome
pkgs.xdg-desktop-portal-wlr
];
xdgOpenUsePortal = true;
config = {
common = {
default = [ "gtk" ];
"org.freedesktop.impl.portal.Screencast" = [ "hyprland" ];
};
};
# config = {
# # common = {
# # # "org.freedesktop.impl.portal.Screenshot" = "hyprland";
# # "org.freedesktop.impl.portal.Screencast" = "hyprland";
# # "org.freedesktop.portal.Screencast" = "hyprland";
# # default = [ "hyprland" ];
# # };
# # hyprland.default = [
# # "hyprland"
# # "gtk"
# # ];
# };
};
Right now i can see my display and it tries to connect but always fail after waiting.
the warning codec list not initialized
how to initialize it? is it the only problem?