How to check the current position time of the music being played? #400
-
Thank's your libraries! It's very easy to use! and must use esp_avrc_ct_send_register_notification_cmd function? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
It is unclear to me if you called set_avrc_metadata_attribute_mask(ESP_AVRC_MD_ATTR_PLAYING_TIME); and registered the callback to get the result (as described in the Readme)? If this is not working can always use the "Accessing the Sink Data Stream with Callbacks" to calculate the time from the amount data that you received: You're getting 44100 * 2 * 2 bytes / second. |
Beta Was this translation helpful? Give feedback.
-
Hi, I check the btc_avrc.c and they already implemented the ESP_AVRC_RN_PLAY_POS_CHANGED notification but I still cannot see any event triggered on iPhone. Meanwhile, Android phone can still trigger this event. Do you know how to fix this problem? Thank you |
Beta Was this translation helpful? Give feedback.
-
No, I guess this is rather a question that you need to address with Apple or Espressif |
Beta Was this translation helpful? Give feedback.
It is unclear to me if you called set_avrc_metadata_attribute_mask(ESP_AVRC_MD_ATTR_PLAYING_TIME); and registered the callback to get the result (as described in the Readme)?
If this is not working can always use the "Accessing the Sink Data Stream with Callbacks" to calculate the time from the amount data that you received: You're getting 44100 * 2 * 2 bytes / second.