summaryrefslogtreecommitdiff
path: root/src/daemon/main.c
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2015-04-27 09:05:14 +0200
committerWim Taymans <wtaymans@redhat.com>2015-04-27 09:05:14 +0200
commit417cd76f3e08679ac3a3f3663e7b68ea8481dfa6 (patch)
tree65a342b479555fc12974c89655a0ef222c022c86 /src/daemon/main.c
parent89c7955f3d7e00c3e2e2570c7d91d4e2280832b8 (diff)
subscribe: rework some more
Track senders in the subscribe object and aggregate events from all connected clients. This allows each client to get a complete view of all the objects of pulsevideo. With all the source objects available, we can then to the selection of the source on each client. Remove the CreatSourceOutput on the Client1 object but let the client select a good source and call CreateSourceOutput directly on the source. This avoid going through the server to get a connection and the client can just as well select a source. Add a state property to the source and make it such that it can do async state changes. Remove the source provider object, each client can now directly see the objects of another clients so there is no need for intermediate objects in the server.
Diffstat (limited to 'src/daemon/main.c')
-rw-r--r--src/daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index cb0fbbfe..3fc4749f 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -38,7 +38,7 @@ main (gint argc, gchar *argv[])
daemon = pv_daemon_new ();
source = pv_v4l2_source_new();
- pv_daemon_add_source (daemon, source);
+ //pv_daemon_add_source (daemon, source);
pv_daemon_start (daemon);
g_main_loop_run (loop);