Detect if currently streaming bluetooth audio? #167
Answered
by
pschatzmann
clarkbremer
asked this question in
Q&A
-
I'm using A2DP Sink, and wondering if there's a way to tell if we are currently streaming audio or not? |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Feb 4, 2022
Replies: 2 comments
-
get_audio_state () |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
clarkbremer
-
Perfect, thanks. For anyone else who stumbles in here, the possible results are: ESP_A2D_AUDIO_STATE_STARTED |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
get_audio_state ()
or you can register a corrsponding event handler..
https://pschatzmann.github.io/ESP32-A2DP/html/class_bluetooth_a2_d_p_sink.html