Wowza Community

Getting AMF metadata from an MP4 recording for sending over HLS

Hello, I am recording an MP4 with AMF metadata in Wowza from my incoming RTMP stream. I know wowza can restream this MP4 as an HLS stream, but how do I get the metadata out of this file for conversion to ID3?

Do I just use the standard IHTTPStreamerCupertinoLivePacketizerDataHandler2 and get the data in the onFillChunkDataPacket method?

I wound up extending IHTTPStreamerCupertinoVODActionNotify.

I started from the example here:

And then wound up including an override for this method to do the injection of metadata as ID3 tags:

public void onFillChunkDataPacket(IHTTPStreamerCupertinoIndex index, IHTTPStreamerCupertinoIndexItem indexItem,
				LiveStreamPacketizerCupertinoChunk chunk, boolean arg3, AMFPacket packet, ID3Frames id3Frames) {