Play audio immediately after connecting #145
jokubasver
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thanks for your feed-back, but I don't think there is any need to change any code and it should be pretty easy to implement this in a sketch. Just use the connection state callback method (set_on_connection_state_changed) and call the play method when you get a connected notification. Or am I missing anything ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think a useful feature to have is to autoplay music after connecting to a phone. This is handy if you are using A2DP as a bluetooth aux device in a car - phone connects and immediately starts playing music, or if you walk away from the car and later come back - the audio resumes from where it was left off. Here's an example of how I have implemented this in a sketch: jokubasver/saab-93NG-bluetooth-aux@dd12b77
Maybe such a feature could be implemented in the library.
Beta Was this translation helpful? Give feedback.
All reactions