Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2073711ybi; Thu, 18 Jul 2019 03:01:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6mAZZp7K+RTo/fBgewXB1PvIfiAU6/CRGNGgNnfIZwi5u3IKZWSESNvmBdDmungF201uZ X-Received: by 2002:a63:6eca:: with SMTP id j193mr45876813pgc.74.1563444071942; Thu, 18 Jul 2019 03:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563444071; cv=none; d=google.com; s=arc-20160816; b=YB29Zx/1Zg397Onm21O0qHuuq8LeQmT3QGMgRc5b0Zad2VEBX5OaycxQ+pcTTFLTBW KmEugzy3jpzXxHLjLHyPhj4JZz5V2bVqOY33T2B/+wMrfhONOOxPYofoTjItjgfTZHEy wMKW4WiBxgLhShQUx1DWe+3gEBZqTPfw9+ZPSxQonsBAvho1FBWhVVOUgzu4kt0X2NSM R4IuDv9o9mbLf9418fkQPQ7iuArNGOjL6fXoi8W980Nuh2BiL+jYty9xfiDsinRT81d6 fVC2MG3bMQvFlhFGfrnX6FQ+YqBjE7FWh05vReVRjwYZ30A52q2z4ORNvrsFgG58kaBw HyYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rhwJiX2z1LOVqIKTUNvBe5qWR4Xa+QosyzTXkER9vUE=; b=rwENZALEyVJHPm5wVO15DQgkLSVgdBhICu/Ag56j2Z2OpueNdGXJz+kmiyV9hvOkeR foOwwHoRF+u4w1bQClZER2hE3aH+DSVhwxvSppHmxwYpavwPb8B9naBw6zX/Y9fzdZ0v /hEydH524xl8G2/TVbWB2lw9BXr8jC2eceZ5xQfaMRmXh9Z6G1t+BHVosG8QY9Nm7ONr r5lf8whUD+1k11OuhRQ7eqEQtCPNorLbO4evLqnpCDmnp7mYMY4jPK/CEA6viW79/LkN tZVtRA/k+pQnFkLSvDOSjpp03u9QV5KKKj+JhijJyPdFsS9Q+NvaKiDkHlZuz9AdirCF uMTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QIjWAFsx; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si1856930pfn.84.2019.07.18.03.00.41; Thu, 18 Jul 2019 03:01:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QIjWAFsx; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726454AbfGRKA3 (ORCPT + 99 others); Thu, 18 Jul 2019 06:00:29 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:56304 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbfGRKA2 (ORCPT ); Thu, 18 Jul 2019 06:00:28 -0400 Received: by mail-wm1-f65.google.com with SMTP id a15so24942270wmj.5 for ; Thu, 18 Jul 2019 03:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=rhwJiX2z1LOVqIKTUNvBe5qWR4Xa+QosyzTXkER9vUE=; b=QIjWAFsxGEL+yfen9xwi4k6WOz9ySDQy4J5aCKT2wJhekFVx4QoiyeiO5eylyMHPIv 48saymEA5PSUVvXe7EPBbvHVGqSxSm/udKToYPn7xZptd1Gk2QhDk0RrOVh7r5wNQD52 LQKHhECkHZir7707fkTSWnNCK059/hyKBRCFnJmtxVjrldk4zUFyHFt1ebOnA4O4VAd6 VA4OT+yLQj9N3A18z0dHLfU9gJb0KFq33kJL12e2rRBmV35JiuJ+0eZ8TRDfrU/UsJlS IRuqV4QRxfgVVxPsAfkL0pTGlJfFcccklhlhGsyw4blFsc2S5DnR3At1PN33bJZfN7BF SaaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=rhwJiX2z1LOVqIKTUNvBe5qWR4Xa+QosyzTXkER9vUE=; b=ltNU/UmefTmt9SnmEHSRtpMZihlNlaO2HtTI98A/ORdtnLk73a6WC3P40hqDGpLtp8 D9rY0BvX5IxOa80WFoyOYpcY6czJy8qOP+qW654AOO7XWavKgdbJ+zDXldKcHiPrGuQ1 Ul/zvR8adlKgAImjQgCHIzfO+iViNBlUMHoUCWi9r6+ZsCrkchYgh7FhE5BsptgHXP35 FvK769BsKv/+gKY6FgmHi9IE2IBiPcRlM96kh/60V1euIQJBSX7MK9wetcUYz3lBEDBi JEOdfz2BnQI5yqwq3EdAuL9gLZuItYIBNfbdTYjr2/2ykzBrzW2u3PKG53WzNV7B+Lw3 fu8w== X-Gm-Message-State: APjAAAUnTz4zZF5RI0Uqq6ybxGbT3cVuhXxwF2J0LTSbEzVDSC1IwZ2O hbxnayooYvN+3Ox2cvKew7E= X-Received: by 2002:a1c:5602:: with SMTP id k2mr38926583wmb.173.1563444026437; Thu, 18 Jul 2019 03:00:26 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id w25sm25104279wmk.18.2019.07.18.03.00.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 18 Jul 2019 03:00:25 -0700 (PDT) Date: Thu, 18 Jul 2019 12:00:24 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Luiz Augusto von Dentz Cc: "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH BlueZ 1/4] doc/media-api: Add RegisterApplication method Message-ID: <20190718100024.ii2igadxb2lmmitm@pali> References: <20190712151329.11333-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Saturday 13 July 2019 17:52:46 Luiz Augusto von Dentz wrote: > Hi Pali, > > On Fri, Jul 12, 2019 at 6:13 PM Luiz Augusto von Dentz > wrote: > > > > From: Luiz Augusto von Dentz > > > > This uses application ObjectManager to discover the MediaEndpoint and > > MediaPlayer object of an application and deprecates the use of > > RegisterEndpoint and RegisterPlayer. > > --- > > doc/media-api.txt | 20 ++++++++++++++++++++ > > 1 file changed, 20 insertions(+) > > > > diff --git a/doc/media-api.txt b/doc/media-api.txt > > index bca8c9563..07f7ac3e0 100644 > > --- a/doc/media-api.txt > > +++ b/doc/media-api.txt > > @@ -66,7 +66,27 @@ Methods void RegisterEndpoint(object endpoint, dict properties) > > > > Unregister sender media player. > > > > + void RegisterApplication(object root, dict options) > > > > + Register endpoints an player objects within root > > + object which must implement ObjectManager. > > + > > + The application object path together with the D-Bus > > + system bus connection ID define the identification of > > + the application. > > + > > + Possible errors: org.bluez.Error.InvalidArguments > > + org.bluez.Error.AlreadyExists > > + > > + void UnregisterApplication(object application) > > + > > + This unregisters the services that has been > > + previously registered. The object path parameter > > + must match the same value that has been used > > + on registration. > > + > > + Possible errors: org.bluez.Error.InvalidArguments > > + org.bluez.Error.DoesNotExist > > Media Control hierarchy > > ======================= > > > > -- > > 2.21.0 > > Can you try this set? Hello, I will try it later in next week. To test it would mean to rewrite pulseaudio bluetooth modules to use this new API, so it would take me longer time. -- Pali Rohár pali.rohar@gmail.com