Reenabled roc with jack rule to prevent self connections
This commit is contained in:
parent
281dbd7779
commit
0786e3b13c
|
@ -42,36 +42,43 @@
|
||||||
]
|
]
|
||||||
)}";
|
)}";
|
||||||
|
|
||||||
# # Pipewire roc source
|
# Disable JACK self connect
|
||||||
# services.pipewire.extraConfig.pipewire."60-roc-source" = {
|
services.pipewire.extraConfig."60-disable-self-connect" = {
|
||||||
# "context.modules" = [
|
"jack.properties" = {
|
||||||
# {
|
"jack.self-connect-mode" = "ignore-all";
|
||||||
# "name" = "libpipewire-module-roc-source";
|
};
|
||||||
# "args" = {
|
};
|
||||||
# "fec.code" = "rs8m";
|
|
||||||
# "local.ip" = "0.0.0.0";
|
|
||||||
# "resampler.profile" = "medium";
|
|
||||||
# "local.source.port" = 10001;
|
|
||||||
# "local.repair.port" = 10002;
|
|
||||||
# "source.name" = "Roc Source";
|
|
||||||
# "source.props.node.name" = "roc-source";
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
# # Set firewall ports
|
# Pipewire roc source
|
||||||
# networking.firewall = {
|
services.pipewire.extraConfig.pipewire."60-roc-source" = {
|
||||||
# enable = true;
|
"context.modules" = [
|
||||||
# allowedTCPPorts = [
|
{
|
||||||
# 10001
|
"name" = "libpipewire-module-roc-source";
|
||||||
# 10002
|
"args" = {
|
||||||
# ];
|
"fec.code" = "rs8m";
|
||||||
# allowedUDPPorts = [
|
"local.ip" = "0.0.0.0";
|
||||||
# 10001
|
"resampler.profile" = "medium";
|
||||||
# 10002
|
"local.source.port" = 10001;
|
||||||
# ];
|
"local.repair.port" = 10002;
|
||||||
# };
|
"source.name" = "Roc Source";
|
||||||
|
"source.props.node.name" = "roc-source";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
# Set firewall ports
|
||||||
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [
|
||||||
|
10001
|
||||||
|
10002
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
10001
|
||||||
|
10002
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# User for audio mixing
|
# User for audio mixing
|
||||||
users.users.mixer = {
|
users.users.mixer = {
|
||||||
|
|
Loading…
Reference in New Issue