Wim Taymans
5088bcce60
module-access: make new access module
...
Rename the flatpak module to access module. The access module should
either let the client connect or mask the client busy while the
permissions are being configured. It is then up to the session manager
to collect the right permissions of the objects and configure those
in the client.
Let the media session monitor the clients and configure the permissions.
2018-10-27 17:33:21 +01:00
Wim Taymans
e026f55c97
protocol: add more methods on client
...
Add method to get and set permissions on a client
Add method to send error to client.
2018-10-27 17:31:03 +01:00
Wim Taymans
bbf718cc98
global: add revoke and grant methods
...
Add methods to grant or revoke access to a global for a client.
2018-10-27 17:26:17 +01:00
Wim Taymans
bd9b74f2d8
global: add list of resources in the global
...
Remove the list of resources from objects to the global
2018-10-27 17:24:15 +01:00
Wim Taymans
2accfc84d7
Add version to hello
2018-10-27 17:19:50 +01:00
Wim Taymans
537598726b
protocol-native: first bind, then register
...
First let the client bind to the core, then register the client.
This way, the client is ready to receive methods on the core.
2018-10-27 17:10:01 +01:00
Wim Taymans
58c6d76328
pod: also handle choice in compare
2018-10-27 10:43:09 +01:00
Wim Taymans
9a969ac756
v4l2: we set clock and position on the node now
2018-10-27 10:11:27 +01:00
Wim Taymans
a4ff7296b2
remote: don't try to update the source when it's gone
2018-10-24 15:45:03 +02:00
Wim Taymans
f5c78cc2a2
remote: use right io_position enum
2018-10-24 15:44:39 +02:00
Wim Taymans
06fe3af7fb
update submodules
2018-10-24 10:35:41 +02:00
Wim Taymans
723d4d9db7
client-node: use spa_io_position
...
Remove old internal structure
2018-10-24 10:34:28 +02:00
Wim Taymans
2206deb3e8
alsa: implement set_io and handle position io
...
Use position io for deciding the size of the output buffers in
alsasrc
2018-10-24 10:27:57 +02:00
Wim Taymans
4aab226047
io: add size of current cycle to position
2018-10-24 10:27:06 +02:00
Wim Taymans
0395897856
node: only run the graph when we are the selected driver
...
Update submodules
2018-10-23 16:52:28 +02:00
Wim Taymans
34db9be04b
io: add io areas for position information
2018-10-23 16:14:17 +02:00
Wim Taymans
66de372e9a
add node set_io function
...
Also allow setting io areas on nodes. We need this to set the
graph clock and period size on the nodes.
2018-10-23 12:31:41 +02:00
Wim Taymans
a121164df9
stream: handle update_properties before connect
2018-10-22 16:11:57 +02:00
Wim Taymans
d2570142fa
resample: don't output 0 buffers
2018-10-22 11:32:53 +02:00
Wim Taymans
8b2781b494
submodule update
2018-10-19 17:15:56 +02:00
Wim Taymans
926392a701
update pulseaudio
2018-10-19 17:06:33 +02:00
Wim Taymans
693fd3a366
meson: only add dependencies when requested
2018-10-19 13:21:52 +02:00
Wim Taymans
e59a7c0848
media-session: set node volume
2018-10-18 15:16:59 +02:00
Wim Taymans
f2e03077a8
audioconvert: add volume and mute property
...
Expose volume and mute property in channelmix and use this
in audioconvert.
2018-10-18 15:04:40 +02:00
Wim Taymans
842abad9e1
client-stream: implement enum_param and set_param better
...
Make it possible to enumerate the parameters and get/set properties
when available on the adapter.
2018-10-18 12:59:31 +02:00
Wim Taymans
c0a6c83227
client-stream: add media.class on node
...
Add the media.class property on the node as well.
2018-10-18 12:56:10 +02:00
Wim Taymans
fd5e315a10
media-session: handle default media roles better
...
Use the media.class to derive a better role.
2018-10-18 12:53:30 +02:00
Wim Taymans
79e976e5d7
audioconvert: small cleanups
2018-10-18 12:47:46 +02:00
Wim Taymans
c6551cead4
protocol-native: return errno when server failed
...
this gives a better error code
2018-10-18 12:36:53 +02:00
Wim Taymans
c28d0f1282
protocol-native: -1 is for invalid fd, not 1
2018-10-18 12:36:44 +02:00
Wim Taymans
88d6e52cc7
add systemd socket activation
2018-10-18 12:36:10 +02:00
Wim Taymans
a086fc5c0c
port: just number unknown channels
...
Ports with unknown channel layout are just numbered.
2018-10-17 12:45:50 +02:00
Wim Taymans
6590d3a258
alsa: sanitize channel map
...
Remove unknown channels
Remove duplicate channels
Fill unknown channels with default channels
2018-10-17 12:44:05 +02:00
Wim Taymans
e22762d502
link: also handle success case
2018-10-17 10:56:47 +02:00
Wim Taymans
4b4f85afe5
link: renegotiate when no format set
...
When the port has lost the format, renegotiate.
2018-10-17 10:40:03 +02:00
Wim Taymans
d27674722a
improve debug and error handling
2018-10-17 10:02:44 +02:00
Wim Taymans
6c7d2d0e1e
alsa-utils: enumerate channels using channel map
...
When there is a channelmap, return format descriptions for each layout
otherwise return a range.
2018-10-16 18:10:43 +02:00
Wim Taymans
7186bd2583
gst: remove old format id conversion code
2018-10-16 17:13:27 +02:00
Wim Taymans
e079552dc8
link: fix negotiation
...
Don't use the current best format as a filter to get the current format.
It might be different and then we fail.
2018-10-16 17:12:12 +02:00
Wim Taymans
d91e545e1d
stream: set state to unconnected when unconnecting
2018-10-16 17:08:19 +02:00
Wim Taymans
4615c5781a
test-v4l2: call process before looking at io
2018-10-16 17:07:49 +02:00
Wim Taymans
ad35e8ef3b
pod: fix pod compare
2018-10-16 16:50:06 +02:00
Wim Taymans
aa5bc5846f
v4l2: fix preoperty get
2018-10-16 16:49:41 +02:00
Wim Taymans
6267e69638
add uninstalled target
...
Also update submodules
2018-10-16 11:30:38 +02:00
Wim Taymans
8377d7e8d1
stream: implement properties update
2018-10-16 09:53:56 +02:00
Wim Taymans
3ebad5c182
client-stream: update properties when client info changes
2018-10-16 09:52:47 +02:00
Wim Taymans
6e6e87223f
channelmix: improve mute/volume handling
...
Don't try to merge the mute/volume into the matrix but pass the volume
as a separate parameter.
2018-10-15 17:57:23 +02:00
Wim Taymans
3018c17622
remote: also keep track of ParamList params
2018-10-15 17:55:14 +02:00
Wim Taymans
ba5e1e614b
props: add some paddig between properties
2018-10-15 17:53:14 +02:00
Wim Taymans
0fe0d5dd85
media-session: also enable session for video
2018-10-15 17:51:47 +02:00