Wim Taymans
3981f15ec6
media-session: also suspend error nodes
...
When a node is in the error state we need to suspend it to be
able to use it later again.
2021-03-23 17:21:06 +01:00
Wim Taymans
6079830591
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.
2021-02-16 15:41:53 +01:00
Wim Taymans
0380c6d91e
suspend-node: remove idle handler in destroy
...
Or else the idle handler might go off when we are already destroyed.
2020-04-29 16:41:41 +02:00
Wim Taymans
d3634aca7e
media-session: rework device reservation
...
Monitor the device reservation objects and mark the device available.
Don't select nodes from devices that are not available.
Acquire the device reservation when a device starts.
Release the device reservation when we suspend the device again.
2020-02-19 18:15:57 +01:00
Wim Taymans
92c26fa124
suspend-node: only suspend devices
2020-01-08 15:16:17 +01:00
Wim Taymans
a3ddc6b744
media-session: add module to suspend nodes
2020-01-08 13:24:06 +01:00