media-session: add conf file for v4l2 and bluez as well

This commit is contained in:
Wim Taymans 2021-01-12 20:38:47 +01:00
parent 4cba8fc7e9
commit fac80e76d2
9 changed files with 292 additions and 116 deletions

View file

@ -46,6 +46,7 @@ rules = [
#node.nick = null
#priority.driver = 100
#priority.session = 100
#node.pause-on-idle = true
#resample.quality = 4
#channelmix.normalize = false
#channelmix.mix-lfe = false
@ -56,4 +57,3 @@ rules = [
}
}
]

View file

@ -0,0 +1,48 @@
# bluez-monitor config file
properties = {
}
rules = [
# an array of matches/actions to evaluate
{
# rules for matching a device or node. It is an array of
# properties that all need to match the regexp. If any of the
# matches work, the actions are executed for the object.
matches = [
{
# this matches all cards
device.name = ~bluez_card.*
}
]
actions = {
# actions can update properties on the matched object.
update-props = {
#device.nick = "My Device"
}
}
}
{
matches = [
{
# matches all sinks
node.name = ~bluez_input.*
}
{
# matches all sources
node.name = ~bluez_output.*
}
]
actions = {
update-props = {
#node.nick = "My Node"
#node.nick = null
#priority.driver = 100
#priority.session = 100
#node.pause-on-idle = true
#resample.quality = 4
#channelmix.normalize = false
#channelmix.mix-lfe = false
}
}
}
]

View file

@ -0,0 +1,45 @@
# v4l2-monitor config file
properties = {
}
rules = [
# an array of matches/actions to evaluate
{
# rules for matching a device or node. It is an array of
# properties that all need to match the regexp. If any of the
# matches work, the actions are executed for the object.
matches = [
{
# this matches all devices
device.name = ~v4l2_device.*
}
]
actions = {
# actions can update properties on the matched object.
update-props = {
#device.nick = "My Device"
}
}
}
{
matches = [
{
# matches all sinks
node.name = ~api.v4l2.sink.*
}
{
# matches all sources
node.name = ~api.v4l2.source.*
}
]
actions = {
update-props = {
#node.nick = "My Node"
#node.nick = null
#priority.driver = 100
#priority.session = 100
#node.pause-on-idle = true
}
}
}
]