org.bluez.MediaEndpoint(5) Linux System Administration org.bluez.MediaEndpoint(5)

org.bluez.MediaEndpoint - BlueZ D-Bus MediaEndpoint API documentation

unique name (Server role) org.bluez (Client role)
org.bluez.MediaEndpoint1
freely definable (Server role) [variable prefix]/{hci0,hci1,...}/dev_{BDADDR}/sep# (Client role)
bluetoothctl-endpoint(1)

Set configuration for the transport.

Configured transport object.
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:

Examples:

> endpoint.config <endpoint> <local endpoint> [preset]

Select preferable configuration from the supported 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.

Select BAP unicast configuration from the supported capabilities:

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.

Clear transport configuration.

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.

[ISO only]

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:

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.

This method gets called when bluetoothd(8) unregisters the endpoint.

An endpoint can use it to do cleanup tasks. There is no need to unregister the endpoint, because when this method gets called it has already been unregistered.

UUID of the profile which the endpoint is for.

Assigned number of codec that the endpoint implements.

The values should match the profile specification which is indicated by the UUID.

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.

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

Metadata blob, it is used as it is so the size and byte order must match.

Device object which the endpoint is belongs to.

Indicates if endpoint supports Delay Reporting.

Indicates endpoint supported locations.

Indicates endpoint supported audio context.

Indicates endpoint available audio context.

Indicates QoS capabilities.

Indicates endpoint support framing.

Possible Values:

0x00
Unframed PDUs supported.
0x01
Unframed PDUs not supported.
Indicates endpoint preferred PHY.

Possible values:

LE 1M preferred.
LE 2M preferred.
LE Coded preferred.
Indicates endpoint preferred number of retransmissions.
Indicates endpoint maximum latency.
Indicates endpoint minimum presentation delay.
Indicates endpoint maximum presentation delay.
Indicates endpoint preferred minimum presentation delay.
Indicates endpoint preferred maximum presentation delay.

Dictionary representing supported features for different services. Keys are service UUIDs, values arrays of strings.

Services:

TMAP Features. Possible items:
"cg"
Call Gateway
"ct"
Call Terminal
"ums"
Unicast Media Sender
"umr"
Unicast Media Receiver
"bms"
Broadcast Media Sender
"bmr"
Broadcast Media Receiver
GMAP Features. Possible items:
"ugg"
Unicast Game Gateway
"ugt"
Unicast Game Terminal
"bgs"
Broadcast Game Sender
"bgr"
Broadcast Game Receiver
"ugg-multiplex"
UGG Multiplex feature support
"ugg-96kbps-source"
UGG 96 kbps Source feature support
"ugg-multisink"
UGG Multisink feature support
"ugt-source"
UGT Source feature support
"ugt-80kbps-source"
UGT 80 kbps Source feature support
"ugt-sink"
UGT Sink feature support
"ugt-64kbps-sink"
UGT 64 kbps Sink feature support
"ugt-multiplex"
UGT Multiplex feature support
"ugt-multisink"
UGT Multisink feature support
"ugt-multisource"
UGT Multisource feature support
"bgs-96kbps"
BGS 96 kbps feature support
"bgr-multisink"
BGR Multisink feature support
"bgr-multiplex"
BGR Multiplex feature support
September 2023 BlueZ