media-session: add option to configure suspend timeout

Set the property on the node and use the value when suspending the
node. a timeout of 0 disables suspend.
This commit is contained in:
Wim Taymans 2021-02-16 15:41:53 +01:00
parent 38e0ff55cd
commit 6079830591
4 changed files with 14 additions and 20 deletions

View file

@ -39,6 +39,7 @@ rules = [
#priority.driver = 100
#priority.session = 100
node.pause-on-idle = false
#session.suspend-timeout-seconds = 5 # 0 disables suspend
}
}
}