# How to Extract Timed Metadata from HLS for Android?

**URL:** <https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525>\
**Category:** Wowza Developer Dojo\
**Created:** [August 24, 2017, 9:48am UTC](https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525 "2017-08-24T09:48:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raihan\_Abbas](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@Raihan\_Abbas](https://community.wowza.com/u/Raihan_Abbas)\
**Post date:** [August 24, 2017, 9:48am UTC](https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525/1 "2017-08-24T09:48:36Z")

</div>

Hi I am using Android MediaPlayer and Injecting Timed metadata into a Live Stream and to listen this injection I am using _MediaPlayer.OnTimedMetaDataAvailableListener_ but its not working. Can you give me some direction how can I extract Timed Metadata injected into Live Stream.

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [August 25, 2017, 12:26am UTC](https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525/2 "2017-08-25T00:26:36Z")

</div>

What kind of metadata are you injecting? It looks like the TimedMetaData class in Android API does support ID3, so as long as you are injecting ID3 tags or converting AMF to ID3, then this listener should be working for you.

---

<div class="post-metadata">

**Author:** ![Raihan\_Abbas](https://avatars.discourse-cdn.com/v4/letter/r/7feea3/32.png) [@Raihan\_Abbas](https://community.wowza.com/u/Raihan_Abbas)\
**Post date:** [August 25, 2017, 5:59am UTC](https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525/3 "2017-08-25T05:59:54Z")

</div>

Well Thanks for your concern, I am injecting ID3 Tags, _MediaPlayer.OnTimedMetaDataAvailableListener_ is not able to detect that injection. You can see the code snippet in the image attached.

---

<div class="post-metadata">

**Author:** ![Raul\_Quijada](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@Raul\_Quijada](https://community.wowza.com/u/Raul_Quijada)\
**Post date:** [January 22, 2019, 9:22am UTC](https://community.wowza.com/t/how-to-extract-timed-metadata-from-hls-for-android/49525/4 "2019-01-22T09:22:23Z")

</div>

I think Id3 is supported from ExoPlayerV2.

[https://google.github.io/ExoPlayer/doc/reference/com/google/android/exoplayer2/metadata/id3/Id3Decoder.html](https://google.github.io/ExoPlayer/doc/reference/com/google/android/exoplayer2/metadata/id3/Id3Decoder.html)
