dwww Home | Manual pages | Find package

ORG.BLUEZ.MEDIA(5)        Linux System Administration        ORG.BLUEZ.MEDIA(5)

NAME
       org.bluez.Media - BlueZ D-Bus Media API documentation

INTERFACE
       Service
              org.bluez

       Interface
              org.bluez.Media1

       Object path
              [variable prefix]/{hci0,hci1,...}

   Methods
   void RegisterEndpoint(object endpoint, dict properties)
          Register a local end point to sender, the sender can register as many
          end points as it likes.

          Note:  If the sender disconnects the end points are automatically un-
          registered.

          possible properties:

          string UUID
                 UUID of the profile which the endpoint is for.

                 UUID must be in the list of SupportedUUIDS.

          byte Codec
                 Assigned number of codec that  the  endpoint  implements.  The
                 values  should  match the profile specification which is indi-
                 cated by the UUID.

          uint32_t Vendor [Optional]
                 Vendor-specific Company ID, Codec ID tuple that  the  endpoint
                 implements.

                 It  shall  be  set  to  appropriate value when Vendor Specific
                 Codec (0xff) is used.

          array{byte} Capabilities
                 Capabilities blob, it is used as it is so the  size  and  byte
                 order must match.

          array{byte} Metadata [Optional]
                 Metadata  blob, it is used as it is so the size and byte order
                 must match.

          Possible Errors:

          org.bluez.Error.InvalidArguments

          org.bluez.Error.NotSupported
                 emitted when interface for the end-point is disabled

   void UnregisterEndpoint(object endpoint)
          Unregister sender end point.

   void RegisterPlayer(object player, dict properties)
          Register a media player object to sender, the sender can register  as
          many objects as it likes.

          Object  must  implement at least org.mpris.MediaPlayer2.Player as de-
          fined in MPRIS 2.2 spec:
               <http://specifications.freedesktop.org/mpris-spec/latest/>

          Note: If the sender disconnects its objects are automatically  unreg-
          istered.

          Possible Errors:

          org.bluez.Error.InvalidArguments

          org.bluez.Error.NotSupported

   void UnregisterPlayer(object player)
          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  con-
          nection 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

   Properties
   array{string} SupportedUUIDs [readonly]
          List  of  128-bit UUIDs that represents the supported Endpoint regis-
          tration.

BlueZ                            September 2023              ORG.BLUEZ.MEDIA(5)

Generated by dwww version 1.16 on Sat Oct 3 05:59:53 CEST 2026.