Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS poor quality audio #533

Open
1 task done
Leo-Ha opened this issue Apr 4, 2024 · 8 comments
Open
1 task done

IOS poor quality audio #533

Leo-Ha opened this issue Apr 4, 2024 · 8 comments

Comments

@Leo-Ha
Copy link

Leo-Ha commented Apr 4, 2024

Problem Description

No matter how i play with the settings, it seems i only get very poor audio quality when i stream audio from IOS device through A2DP, with android it works flawlessly. Is there a solution for this? I checked all realted issues and searched online but did not find a solutrion myself

Device Description

ESP32-WROOM and Iphone 12
External DAC PCM5102A

Sketch

#include "BluetoothA2DPSinkQueued.h"

BluetoothA2DPSinkQueued a2dp_sink;

void setup() {
  a2dp_sink.start("MyMusicQueued");  

}


void loop() {
  delay(1000); // do nothing
}

Other Steps to Reproduce

No response

Provide your Version of the EP32 Arduino Core (or the IDF Version)

2.3.2

I have checked existing issues, discussions and online documentation

  • I confirm I have checked existing issues, discussions and online documentation
@pschatzmann
Copy link
Owner

With my old IOS devices it is working w/o any problems.
I am not buying any recent Hardware from Apple any more, so I can't reproduce this.

@Leo-Ha
Copy link
Author

Leo-Ha commented Apr 7, 2024

Is there a way to add AAC codec support? I think it may be due to ios not liking the SBC codex too much.

With my old IOS devices it is working w/o any problems. I am not buying any recent Hardware from Apple any more, so I can't reproduce this.

@pschatzmann
Copy link
Owner

No, as far as I know, only SBC is supported by Espressif

@Leo-Ha
Copy link
Author

Leo-Ha commented Apr 7, 2024

@pschatzmann
Copy link
Owner

I don't understand, where is the connection with A2DP ?
Here is the link to the relevant API

@Leo-Ha
Copy link
Author

Leo-Ha commented Apr 7, 2024

I don't understand, where is the connection with A2DP ? Here is the link to the relevant API

Oh okay, in your linked document AAC is mentioned in this

uint8_t m24[ESP_A2D_CIE_LEN_M24]
MPEG-2, 4 AAC audio codec capabilities

do you know what this means?
And would you know is the AAC support limited by hardware on the esp32 or just software?

@pschatzmann
Copy link
Owner

But I did not find any method where you could provide this information....

@Leo-Ha
Copy link
Author

Leo-Ha commented Apr 7, 2024

But I did not find any method where you could provide this information....

I dont really understand the documentation or what you mean by that, i will try to search if theres a way to add AAC support but seems im out of luck with this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants