Wim Taymans
0e21464da2
media-session: also make objects for other types
2020-07-16 17:48:00 +02:00
Wim Taymans
7d56b78bce
remove some unused fields
2020-07-16 17:47:30 +02:00
Wim Taymans
3eb37320c9
pw-cli: improve permission debug
2020-07-16 17:46:47 +02:00
Wim Taymans
50574b9523
flatpak: don't give write access for flatpaks
2020-07-16 13:34:06 +02:00
Wim Taymans
5f9bb13237
client: use core permission to pause/resume a client
...
Make it so that the permission of the core determines if a client
can continue or not. When the core is readable, the client is
allowed to continue otherwise it is paused.
2020-07-16 13:25:39 +02:00
Wim Taymans
ac97175380
pulse: don't try to do set_param when not writable
2020-07-16 13:25:03 +02:00
Wim Taymans
cbc579825c
media-session: add flatpak module
...
Add a module that gives full access to flatpak apps. Later we should
do something more restrictive.
2020-07-16 12:52:00 +02:00
Wim Taymans
9caccb6125
pw-cli: quit when we quit
2020-07-16 12:49:17 +02:00
Wim Taymans
5afdd507c3
access: document and improve arguments
...
Add option to force flatpak security
When a check is inconclusive, go to the next check instead.
2020-07-16 11:45:44 +02:00
Wim Taymans
7ddc32a113
meson: place full path in the config
2020-07-16 11:44:10 +02:00
Wim Taymans
f306cbde0b
command: pass right arguments to execvp
...
The first argument is the command (exec) and the next is the
actual command we executed.
2020-07-16 11:42:55 +02:00
Wim Taymans
02be602f97
policy-node: route to the default sink/source when found
2020-07-15 15:53:54 +02:00
Wim Taymans
61e2d5cb54
policy-node: track default sink/source and move streams
...
Keep track of the default source and sink and move all streams linked
to the old default to the new default when it changes.
2020-07-15 14:26:16 +02:00
Wim Taymans
b1293d9f6e
policy-node: only track stream peers
...
Only track the peer of streams. We only care about where we linked
this stream to. There is only one target per stream but the device
we link to can have many peer streams.
2020-07-15 14:22:56 +02:00
Wim Taymans
5f2c4c70ec
media-session: expose metadata
2020-07-15 14:21:35 +02:00
Wim Taymans
2d5a404244
media-session: add method to remove links
2020-07-15 14:20:46 +02:00
Wim Taymans
035fb26d71
media-session: keep track of links
...
Also keep track of links when not tracked in the endpoint link.
2020-07-15 14:19:25 +02:00
Wim Taymans
5194c8a92f
media-session: start metadata first
2020-07-15 14:17:00 +02:00
Wim Taymans
583e450efd
example: add more debug
2020-07-15 14:14:23 +02:00
Wim Taymans
77274b3ab0
node: use intermediate pending state
...
Use an intermediate pending state that contains the state currently
in progress and use this to decide if we need to issue start/stop
commands.
Otherwise we might be in the running state, issue a Stop command,
issue a Start command (ignored because already running), then the
Stop completes and the node is stopped.
2020-07-15 14:11:01 +02:00
Wim Taymans
6dcb19bbdf
pipewiresrc: use more accurate timeout
2020-07-14 17:25:13 +02:00
Wim Taymans
a6d221f18a
thread_loop: add more accurate timed_wait
...
Add get_time() to calculate a timespec timeout value.
Add timed_wait_full() to wait for a timespec
2020-07-14 17:13:59 +02:00
Wim Taymans
36511a5d8e
gst: measure keepalive-time in milliseconds
...
And round up to the next integer for now.
2020-07-14 14:29:45 +02:00
Wim Taymans
9b4b7d1a2c
evl: add include for spa_strerror
...
See #244
2020-07-14 14:19:26 +02:00
Wim Taymans
0344e09905
gst: add some more debug
2020-07-14 14:15:55 +02:00
Wim Taymans
993aa89030
gst: add keepalive-time property
...
Add a property to periodically send the last buffer to keep the
stream alive. Useful for sparse streams that need to keep the
encoder busy every once and a while.
2020-07-14 13:54:21 +02:00
Wim Taymans
f28ca843a6
format: fix typo
2020-07-14 10:21:35 +02:00
Wim Taymans
70652d1a37
gst: share the core between connections
...
Make all sources in the same process with the same fd share the
connection to the server. This makes it possible to set the same
fd on multiple sources/sinks and have them all use the same
connection, like when capturing multiple monitors from screencast
with the portal.
Fixes #241
2020-07-13 18:38:19 +02:00
Julian Bouzas
ba96eecba0
sco-source: clean up and support different buffer sizes
2020-07-13 12:05:01 -04:00
Julian Bouzas
f743fff694
sco-source: add RateMatch IO
2020-07-13 12:04:56 -04:00
Wim Taymans
a459c1f226
acp: sync with master
2020-07-13 14:39:27 +02:00
Wim Taymans
be7ff66d0b
examples: clean up proxy
2020-07-13 13:12:20 +02:00
Wim Taymans
c173b23ac4
gst: use object_path to hide providers
...
Don't use the core info to manage the hiden providers, that info
can't be put there anymore because the session manager manages
the devices now.
Look at the object path instead and hide those with well known
prefixes.
2020-07-13 12:31:16 +02:00
Wim Taymans
8e9bbaf3dc
pipewiresrc: add option to resend last buffer on EOS
...
Add an option to resend the last buffer on EOS with an updated
timestamp. This can be used to make sure encoders fill up the
gap between last buffer and EOS, like with sparse streams from
screen capture.
2020-07-13 12:11:34 +02:00
Wim Taymans
a596cdbf2e
gst: return NULL for unknown format
2020-07-13 11:50:06 +02:00
Wim Taymans
031a8ea799
client-node: also unref the activation memblock
2020-07-10 16:11:16 +02:00
Wim Taymans
e58fcb95d0
client-node: remove the tag from the right pool
2020-07-10 16:10:45 +02:00
Wim Taymans
5cd495c93c
client-node: free old mapping only after importing the new
...
Keep the old mapping around until we manage to successfully import
the new mapping.
2020-07-10 12:57:55 +02:00
Wim Taymans
0430e7b8dc
client-node: clean up our memory mappings
...
Loop over our memory mappings and clean them up when we are destroyed.
2020-07-10 12:46:48 +02:00
Wim Taymans
ff8aaf9e62
node: set node io after registering
...
So that we have the right node_id in the position.clock field.
2020-07-10 12:45:44 +02:00
Wim Taymans
8a0a9c8094
mem: add some more debug
2020-07-10 12:44:50 +02:00
Wim Taymans
69cfc8e08c
policy-node: use the DONT_RECONNECT flag with a target
...
When a target is given and it doesn't exist, look at the
DONT_RECONNECT flag and error when we are not allowed to connect
to something else.
2020-07-09 13:03:02 +02:00
Wim Taymans
ee59bcd632
acp: emit volume/mute changes on change
2020-07-08 17:24:23 +02:00
Wim Taymans
bf9b58e1f5
pulse: emit server change events when default sink/source change
2020-07-08 17:10:27 +02:00
Wim Taymans
b896d65723
acp: emit param change when port changed
2020-07-08 16:16:43 +02:00
Wim Taymans
6d41e17ca3
pulse: improve name of monitors
2020-07-08 16:10:45 +02:00
Wim Taymans
4de3403c99
metadata: free item value as well
2020-07-07 20:25:01 +02:00
Julian Bouzas
2ae4322cca
a2dpsource: fill the buffer as much as possible
...
Fills the buffer until the buffer data size is maxsize / frame_size
2020-07-07 15:34:57 +00:00
Julian Bouzas
60eb8dae87
a2dpsource: add RateMatch IO
2020-07-07 15:34:57 +00:00
Frédéric Danis
e17688a43b
Fix missing headers check
...
Current Gillab CI fails with:
$ ./check_missing_headers.sh
spa/monitor/event.h not installed
2020-07-07 17:33:57 +02:00