Hi,
I understand that the ESP32 uses the Bluedroid Stack which apparently supports A2DP Source and Sink services (please correct me if this is wrong).
The esp-idf contains an a2dp_sink example which works.
If have the following questions:
- Can the ESP32 also act as an audio source, i.e. A2DP Source?
- Is there any example of that? I am looking at the Bluedroid APIs but I do not have the slightest clue how to configure the ESP32 as an A2DP Source.
- Blue sky question: Is the ESP32 able to connect to two separate Bluetooth Speakers and stream audio to them? Is this doable using the Blueddroid stack?
Any hints welcome.
Cheers,
Johannes
Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
-
- Posts: 13
- Joined: Tue May 02, 2017 9:33 am
Re: Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
fesp32@joov.de wrote:Hi,
..
Any hints welcome.
hi johannes
(transceiver) (A2DP-SRC: Advanced Audio Distribution Source)
(receiver) (A2DP-SNK: Advanced Audio Distribution Sink)
what we have just in time as example is A2DP-SNK as ESP_SPEAKER
what you search is A2DP-SRC , i think there is just in time no example available.
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 1
- Joined: Tue Sep 05, 2017 1:16 am
Re: Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
There may be no example, but is it able to be done?
Re: Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
I stumbled upon this:
https://github.com/gtalusan/esp-idf/tre ... 2dp_source
Never tested but author says it is an implementation of A2DP-SRC
https://github.com/gtalusan/esp-idf/tre ... 2dp_source
Never tested but author says it is an implementation of A2DP-SRC
-
- Posts: 109
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: Bluetooth A2DP Source example? (ESP32 streaming to BT speaker)
Try this.
https://github.com/nopnop2002/esp-idf-a2dp-source
You can listen to WAV with your bluetooth speaker.
https://github.com/nopnop2002/esp-idf-a2dp-source
You can listen to WAV with your bluetooth speaker.
Who is online
Users browsing this forum: No registered users and 86 guests