mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -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
				
			
		| 
						 | 
				
			
			@ -25,9 +25,9 @@ static GMainLoop *loop;
 | 
			
		|||
 | 
			
		||||
static void
 | 
			
		||||
subscription_cb (PvContext *context, PvSubscriptionEvent type, PvSubscriptionFlags flags,
 | 
			
		||||
    const gchar *object_path, gpointer user_data)
 | 
			
		||||
    GDBusObject *object, gpointer user_data)
 | 
			
		||||
{
 | 
			
		||||
  g_print ("got event %d %d %s\n", type, flags, object_path);
 | 
			
		||||
  g_print ("got event %d %d %s\n", type, flags, g_dbus_object_get_object_path (object));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue