I'm developing an iOS app to stream live in-car video from a racing car with synchronized data. In order to provide a reference for the data, I've been trying to insert a Unix timestamp as a text ID3 tag. I've adapted the code from here http://www.wowza.com/forums/content....D3-Metadata%29 to do so.
At the moment my code just inserts the Unix time that the packetizer started in every frame.
Unfortunately the iOS metadata API functions aren't detecting the tags. This is strange, because I've tested the same code with a different HLS source also containing ID3s- a VOD m3u8 playlist containing chunks with ID3s created using Apple's own tools. The iOS code works fine with this video- all tags are detected. I've verified that the chunks from Wowza do contain ID3s- although seemingly only one at the beginning of each chunk.
I'm wondering if I'm doing something wrong at the Wowza end, causing the tag to be inserted in the wrong place, and thus not correctly read - I suspect I'm misunderstanding some part of the API
I should also mention, that for testing purposes I'm using VLC to create a fake live stream from a file, and that previously, while trying to use Apple's live stream segmenter together with their ID3 inserter, I've run into trouble- and discovered on a post on an Apple developer forum that there is a known issue with trying to insert ID3s into MPEG2TS feeds from VLC, due to the fact that VLC apparently pads the MPEG2TS PMT with the adaptation field.
My code is
Long unixTime = System.currentTimeMillis();
String time = unixTime.toString();
getLogger().info("ABOUT TO ADD TEXT FRAME START TIMESTAMP"+time+"");
ID3V2FrameTextInformation frame = new ID3V2FrameTextInformation(ID3V2FrameBase.TAG_TXXX);
public void onAppStart(IApplicationInstance appInstance)
public void onAppStop(IApplicationInstance appInstance)