mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
support remote sources
Watch client object-manager and keep the remote source object in a SourceProvider object. Keep a list of all sources in the daemon. Handle the Client CreateSourceOutput by calling the method on a registered source in the daemon. Pass GDBusObject in the subscription signal so that we can get to more details.
This commit is contained in:
parent
752494621c
commit
93c246c4ce
14 changed files with 531 additions and 70 deletions
|
|
@ -40,7 +40,7 @@ setup_pipeline (PvV4l2Source *source)
|
|||
{
|
||||
PvV4l2SourcePrivate *priv = source->priv;
|
||||
|
||||
priv->pipeline = gst_parse_launch ("v4l2src ! video/x-raw,width=320,height=240,framerate=30/1 ! "
|
||||
priv->pipeline = gst_parse_launch ("v4l2src ! video/x-raw,width=640,height=480,framerate=30/1 ! "
|
||||
"pvfdpay ! multisocketsink buffers-max=2 buffers-soft-max=1 "
|
||||
"recover-policy=latest sync-method=latest name=sink sync=true "
|
||||
"enable-last-sample=false", NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue