Questions tagged [a2dp]

Advanced Audio Distribution Profile (A2DP)

This profile defines how high quality audio (stereo or mono) can be streamed from one device to another over a Bluetooth connection. For example, music can be streamed from a mobile phone, to a wireless headset, hearing aid & cochlear implant streamer, or car audio or from a laptop/desktop to a wireless headset.

Source: Advanced Audio Distribution Profile section of "List of Bluetooth profiles" article on Wikipedia

135 questions
2
votes
0 answers

Android Bluetooth A2dp sink for Bluetooth Speaker

I'm making Bluetooth speaker with android device. from android to android. I'm searching for a lot of information for this. but there is no answer to satisfy. I want to make android 8.0 device as a2dp sink. I can modify Android Framework. I already…
2
votes
0 answers

BlueZ MediaPlayer track position not synced with phone

I have paired my Android phone with Ubuntu 18.04.1 and playing music on phone(the a2dp source). I can hear music on Ubuntu(the a2dp sink), send commands to phone (such as Play/Pause/Next etc) using dbus and media api of BlueZ and also get track info…
Kashinath Patekar
  • 1,083
  • 9
  • 23
2
votes
1 answer

Raspberry Pi + Bluez + A2DP + AVRCP

In the past 2 days i've been googling for a way to control the media playback from my iPhone through my Raspiberry pi headless speaker. I've successfully setup the pi using the following tutorial: Headless A2DP Audio Streaming on Raspbian Stretch…
ady_e_n
  • 33
  • 1
  • 5
2
votes
0 answers

bluez4.101: headset disconnects immediately after connected

I'm trying to make my PC(ubuntu14.04) work as a bluetooth headset, but each time after the phone connected the PC, it disconnects in few seconds. Here is the hciconfig and hcidump, and bluez version is 4.101. Do I miss something to keep the…
ergate
  • 21
  • 3
2
votes
1 answer

Find the package name of the app playing or using Bluetooth music stream

How to get to know which app is playing/using music stream. I am able to receive callback through broadcast receiver BluetoothA2dp when audio is played or paused/stopped on Bluetooth device and name of broadcast is given…
Amandeep Rohila
  • 3,558
  • 2
  • 28
  • 34
2
votes
1 answer

Programmatically enable/disable Bluetooth profiles

I'm running Rasbian Jessie Lite on Raspberry Pi 3 with a USB/Bluetooth dongle (blueZ) 5.4. The /etc/bluetooth/main.conf has Class = 0x0c0408. I have a Qt5 application which enables the Bluetooth device and accepts any incoming pairing requests. I…
Mark
  • 4,338
  • 7
  • 58
  • 120
2
votes
0 answers

Bluetooth 4.0 A2DP and BLE

I am trying to communicate to a printer via a mobile and use BLE for communication. It works good for some mobiles (ofcourse that have BLE support) The customer has purchased few mobiles that mention Bluetooth 4.0,…
2
votes
0 answers

Is there a URL path to files on device connected via bluetooth?

I would like to stream music on multiple devices via Bluetooth. Therefore A2DP is not an option and SCO isn´t either due to insufficient sound quality. It is easy to stream music from a URL as schown here. Is it possible to set the URL for the…
Hans En
  • 906
  • 5
  • 15
  • 32
2
votes
1 answer

Bluez 5 - initiate avrcp connection to iPhone from Bluez

Bluez 5.28 Goal - Control iOS track skip, and initiate connection from Bluez programmatically. Do not want a2dp. Everything works fine if I initiate connection from iPhone/iPad (go to BT settings, click on Pi device), which I want to avoid and not…
Romey-Rome
  • 91
  • 1
  • 8
2
votes
1 answer

Enabling Android A2DP SINK and RFCOMM simultaneous traffic (Lollipop)

Background: I’m looking to enable A2DP audio streaming SINK support on my Nexus 4 & 5 devices (running Lollipop) . I also need concurrent SPP/RFCOMM bidirectional traffic for my application command and control. I’ll be sending serial traffic to a…
2
votes
0 answers

Trying to Send Metadata via A2DP / AVRCP

I am working on an Android app and one of things I'd like for it to be able to do is to send metadata via A2DP / AVRCP to my car radio and I cannot seem to get my car to pick up the metadata. I use PocketCasts as my podcast app and their app works…
mattdonders
  • 1,328
  • 1
  • 19
  • 42
2
votes
2 answers

Bluetooth A2DP + AVRCP 1.3+ module

I am having a difficult time understanding how to implement AVRCP with my project. I have searched quite a bit and read many datasheets, but I still seem to be missing something... Here is what I want to do: Simply put, i want to be able to connect…
radensb
  • 664
  • 1
  • 7
  • 25
2
votes
1 answer

Sending audio to a bluetooth enabled speaker, IOS

I want to add a function to my App, where the user can choose to play the audio on a bluetooth enabled speaker. I have a Parrot Easydrive in my car and this works for phonecalls and for example the Dictafoon App among others. I understand that I…
Marcel
  • 21
  • 2
2
votes
0 answers

How to modify Android Bluetooth Chat to connect with A2DP device?

I'm trying to modify the Bluetooth Chat program to connect with a device over the A2DP profile. My tablet is already paired and connected to the device but when I launch the program it says it cannot connect. This is the only code that I have…
2
votes
0 answers

Implement A2DP sink on linux system using dbus-python api

I want to implement a custom A2DP sink on my linux system running the latest Ubuntu 12.04 with the latest bluez stack. My Basic Requirements are: Linux system to act as a receiver(like a bluetooth headset with automatic authentication with default…
jero2rome
  • 1,548
  • 1
  • 21
  • 39
1 2 3
8 9