-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Classic BT AVRC passthrough command not working while media is playing (IDFGH-5348) #7100
Comments
@spleen1981 Thanks for reporting. Would you please help provide more details as suggested in the issue template? Information like elf, sdk configuration, backtrace, log outputs, commit ID, hardware and etc. would help us debug further. Thanks. |
Environment
Problem DescriptionSending AVRC passthrough commands (e.g. ESP_AVRC_PT_CMD_FORWARD) to connected peer while media is playing (works ok if media is not playing) from ESP32 A2DP sink seems to be broken with ESP IDF 4.2.1 (same with 4.3beta2), while with 4.2.0 same code works ok. Expected Behavioresp_avrc_ct_send_passthrough_cmd sent to peer and event received in relevant callback function even if media is playing. Actual Behavioresp_avrc_ct_send_passthrough_cmd not sent to peer and event not received in relevant callback function if media is playing. Steps to reproduce
Code to reproduce this issueRefer to attached source (AD2P example with additional task sending passthrough commands every 10 seconds starting when AVRC is connected). Debug Logs
|
Hi spleen1981, Would you please try the following patch to see if the problem still exists? |
@boblane1 problem seems to be fixed with this patch. |
I'm experiencing again the problem with new commits of the btc_a2dp_sink.c |
Hi,
sending AVRC passthrough commands (e.g. ESP_AVRC_PT_CMD_FORWARD) to connected peer while media is playing (works ok if media is not playing) from ESP32 A2DP sink seems to be broken with ESP IDF 4.2.1 (same with 4.3beta2), while with 4.2.0 same code works ok.
esp_avrc_ct_send_passthrough_cmd returns ESP_OK, but no event is received in relevant callback function.
Commands seems to be somehow queued, as when media is stopped from peer device, all previous passthrough commands sent are executed in series.
The text was updated successfully, but these errors were encountered: