| ORG.BLUEZ.MEDIAENDPOINT(5) | Linux System Administration | ORG.BLUEZ.MEDIAENDPOINT(5) |
NAME¶
org.bluez.MediaEndpoint - BlueZ D-Bus MediaEndpoint API documentation
INTERFACE¶
- Service
- unique name (Server role) org.bluez (Client role)
- Interface
- org.bluez.MediaEndpoint1
- Object path
- freely definable (Server role) [variable prefix]/{hci0,hci1,...}/dev_XX_XX_XX_XX_XX_XX/sepX (Client role)
Methods¶
void SetConfiguration(object transport, dict properties)¶
- object transport
- Configured transport object.
- dict properties
- Configured org.bluez.MediaTransport(5) properties.
For client role transport must be set with a server endpoint object which will be configured and the properties must contain the following properties:
- array{byte} Capabilities [Mandatory]
- See Capabilities property.
- array{byte} Metadata [ISO only]
- See Metadata property.
- dict QoS [ISO only]
- See org.bluez.MediaTransport(5) QoS property.
array{byte} SelectConfiguration(array{byte} capabilities)¶
Returns a configuration which can be used to setup a transport, see org.bluez.MediaTransport(5) for possible values.
Note: There is no need to cache the selected configuration since on success the configuration is send back as parameter of SetConfiguration.
dict SelectProperties(dict capabilities)¶
- object Endpoint
- array{byte} Capabilities
- array{byte} Metadata
- uint32 Locations
- uint32_t ChannelAllocation
- dict QoS
See MediaEndpoint Properties for their possible values.
Returns a configuration which can be used to setup a transport:
See SetConfiguration for their possible values.
Note: There is no need to cache the selected properties since on success the configuration is send back as parameter of SetConfiguration.
void ClearConfiguration(object transport)¶
Server role: [ISO only]
Close the stream associated with the given transport. If the path given is the path of this endpoint, all its streams are closed.
void Reconfigure(dict properties)¶
Reconfigure a BAP unicast endpoint. This closes all existing streams of the endpoint, and restarts the configuration selection flow which e.g. triggers calls to SelectProperties allowing the sound server to modify the configuration.
The following arguments are taken in properties:
- boolean Defer [optional]
- If True, mark endpoint for reconfiguration, but postpone it until a
non-deferred Reconfigure() operation is made on an endpoint of the
same device.
This is necessary to use when reconfiguring source and sink streams with the intention that they be combined into the same CIG, possibly forming bidirectional CIS.
void Release()¶
MediaEndpoint Properties¶
string UUID [readonly, optional]¶
byte Codec [readonly, optional]¶
uint32_t Vendor [readonly, Optional]¶
It shall be set to appropriate value when Vendor Specific Codec (0xff) is used.
array{byte} Capabilities [readonly, optional]¶
array{byte} Metadata [readonly, Optional]¶
object Device [readonly, optional]¶
bool DelayReporting [readonly, optional]¶
uint32 Locations [readonly, optional, ISO only, experimental]¶
uint16 SupportedContext [readonly, optional, ISO only, experimental]¶
uint16 Context [readonly, optional, ISO only, experimental]¶
dict QoS [readonly, optional, ISO only, experimental]¶
- byte Framing
- Indicates endpoint support framing.
Possible Values:
- 0x00
- Unframed PDUs supported.
- 0x01
- Unframed PDUs not supported.
- byte PHY
- Indicates endpoint preferred PHY.
Possible values:
- byte Retransmissions
- Indicates endpoint preferred number of retransmissions.
- uint16 MaximumLatency
- Indicates endpoint maximum latency.
- uint32 MinimumDelay
- Indicates endpoint minimum presentation delay.
- uint32 MaximumDelay
- Indicates endpoint maximum presentation delay.
- uint32 PreferredMinimumDelay
- Indicates endpoint preferred minimum presentation delay.
- uint32 PreferredMaximumDelay
- Indicates endpoint preferred maximum presentation delay.
| September 2023 | BlueZ |