mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pipewire-aes67: improve default config
Ensure visibility in Dante Controller, improve SAP config Co-authored-by: Sebastian Jaeckel <wose@zuendmasse.de>
This commit is contained in:
parent
024dc74e53
commit
6d2b43b51c
2 changed files with 48 additions and 9 deletions
|
|
@ -18,11 +18,6 @@ context.properties = {
|
|||
#default.clock.quantum-limit = 8192
|
||||
}
|
||||
|
||||
#context.spa-libs = {
|
||||
# audio.convert.* = audioconvert/libspa-audioconvert
|
||||
# support.* = support/libspa-support
|
||||
#}
|
||||
|
||||
context.modules = [
|
||||
{ name = libpipewire-module-rt
|
||||
args = {
|
||||
|
|
@ -41,6 +36,8 @@ context.modules = [
|
|||
local.ifname = eth0
|
||||
sap.ip = 239.255.255.255
|
||||
sap.port = 9875
|
||||
net.ttl = 32
|
||||
net.loop = true
|
||||
|
||||
stream.rules = [
|
||||
{
|
||||
|
|
@ -57,8 +54,50 @@ context.modules = [
|
|||
sess.latency.msec = 10
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
sess.sap.announce = true
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
announce-stream = {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{ name = libpipewire-module-rtp-sink
|
||||
args = {
|
||||
local.ifname = eth0
|
||||
destination.ip = 239.69.150.243
|
||||
destination.port = 5004
|
||||
net.mtu = 1280
|
||||
net.ttl = 32
|
||||
net.loop = true
|
||||
sess.min-ptime = 1
|
||||
sess.max-ptime = 1
|
||||
sess.name = "PipeWire RTP stream"
|
||||
sess.media = "audio"
|
||||
sess.ts-refclk = "ptp=traceable"
|
||||
sess.ts-offset = 0
|
||||
sess.ptime = 1
|
||||
sess.latency.msec = 1
|
||||
sess.announce = true
|
||||
audio.format = "S24BE"
|
||||
audio.rate = 48000
|
||||
audio.channels = 2
|
||||
audio.position = [ FL FR ]
|
||||
|
||||
stream.props = {
|
||||
node.name = "rtp-sink"
|
||||
media.class = "Audio/Sink"
|
||||
node.virtual = false
|
||||
device.api = aes67
|
||||
sess.sap.announce = true
|
||||
node.always-process = true
|
||||
}
|
||||
}
|
||||
},
|
||||
]
|
||||
|
|
|
|||
|
|
@ -230,8 +230,8 @@ context.objects = [
|
|||
# node.group = pipewire.ptp0
|
||||
# priority.driver = 30000
|
||||
# clock.name = "clock.system.ptp0"
|
||||
# #clock.id = tai
|
||||
# clock.device = "/dev/ptp0"
|
||||
# clock.id = tai
|
||||
# #clock.device = "/dev/ptp0"
|
||||
# }
|
||||
#}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue