# ID3 tags injection -\> cupertino Live-Stream

**URL:** <https://community.wowza.com/t/id3-tags-injection-cupertino-live-stream/142>\
**Category:** Wowza Streaming Engine\
**Created:** [February 17, 2014, 2:19pm UTC](https://community.wowza.com/t/id3-tags-injection-cupertino-live-stream/142 "2014-02-17T14:19:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [February 17, 2014, 2:19pm UTC](https://community.wowza.com/t/id3-tags-injection-cupertino-live-stream/142/1 "2014-02-17T14:19:13Z")

</div>

Hi Wowza experts,

I’m using following Module to inject a Live-Stream with cuepoints every 800ms (TimeCode information)…

```auto
package ch.adiacom.wms.module;
import com.wowza.wms.amf.AMFDataItem;
import com.wowza.wms.amf.AMFDataMixedArray;
import com.wowza.wms.amf.AMFDataObj;
import com.wowza.wms.application.*;
import com.wowza.wms.module.*;
import com.wowza.wms.stream.IMediaStream;
import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;
public class ModuleTimecodeInjector2 extends ModuleBase {
	public Timer timer;
	public IApplicationInstance app;
	private int InjectInterval = 800;
	public AMFDataObj timeObj;
	public void onAppStart(IApplicationInstance appInstance) {
		app = appInstance;
		
		timeObj = new AMFDataObj();
		
		timer = new Timer();
		timer.schedule(new injectStreams(), InjectInterval, InjectInterval);
	}
	public void onAppStop(IApplicationInstance appInstance) {
		timer.cancel();
	}
	
	class injectStreams extends TimerTask{
		public void run() { 
			IMediaStream vidStream = app.getStreams().getStream("video");
			if (vidStream != null){
				injectEvent(vidStream);
			}
		}
	}
	
	public void injectEvent(IMediaStream stream) {
		AMFDataMixedArray data = new AMFDataMixedArray();
		data.put("time", new AMFDataItem(new Date().getTime()));
		stream.sendDirect("onTC", data);
	}
}

```

Now i want to have this ‘cuepoints’ also on a HLS Live-Stream (m3u8)… I’ve read, that this is possible with ID3 Tags. Is it possible to extend this module, to get this ID3 tags in the HLS-Live Stream? and what are the stepps to do so?..

Thanks for your support

kind regards

---

<div class="post-metadata">

**Author:** ![Andrew\_Kennedy1](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Andrew\_Kennedy1](https://community.wowza.com/u/Andrew_Kennedy1)\
**Post date:** [February 18, 2014, 2:20am UTC](https://community.wowza.com/t/id3-tags-injection-cupertino-live-stream/142/2 "2014-02-18T02:20:08Z")

</div>

Hi,

You can use this tutorial

[How-to-convert-onTextData-events-in-a-live-or-VOD-stream-to-timed-events-ID3-tags-in-an-Apple-HLS-stream](https://www.wowza.com/docs/how-to-convert-ontextdata-events-in-a-live-or-vod-stream-to-timed-events-id3-tags-in-an-apple-hls-stream%28ID3-tags%29-in-an-Apple-HLS-stream)

If you look through the code it is looking for

```auto
				if (!metaDataStr.equalsIgnoreCase("onTextData"))

```

You need to change this to

```auto
				if (!metaDataStr.equalsIgnoreCase("onTC"))

```

You can then debug if it is working with the following tutorial

[How-to-debug-timed-data-events-ID3-tags-from-Apple-HLS-streams-in-iOS-devices](https://www.wowza.com/docs/how-to-debug-timed-data-events-id3-tags-from-apple-hls-streams-in-ios-devices%28ID3-tags%29-from-Apple-HLS-streams-in-iOS-devices)

Andrew.
