Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Handling ID3 tags from HLS on JW Player 6.9 RC


Hello, I’m having problems with extracting ID3 tags metadata from HLS live video stream coming from Wowza 4. I’m using JW Player 6.9 RC, which should provide this functionality according to this issue ticket: http://developer.longtailvideo.com/trac/ticket/2141 . I followed this Wowza tutorial to inject ID3 tags: http://www.wowza.com/forums/content.php?322-iOS-streaming-supports-timed-data-events-in-live-and-video-on-demand-(ID3-tags) and checked if the metadata is present in the stream with this method: http://www.wowza.com/forums/content.php?355-How-to-debug-timed-data-events-in-iOS-streams-(ID3-tags) and everything seems to be OK. However, I don’t get any of my custom metadata with „onMeta” JW Player callback. I’m using the HLS stream with flash player:

jwplayer("flash").setup
primary: 'flash'
playlist: [
{
sources: [
{ file: "http://localhost:1935/live/D_Q8iVsQ/playlist.m3u8"}
]
}
]

jwplayer("flash").onMeta (event) ->
console.log "EVENT", event

Could you please help me understand what is the problem here? Should I provide additional configuration for the stream/metadata to make it work? Is the 6.9 RC version supposed to handle this case?

Thanks
Luke

3 Community Answers

Todd

JW Player Support Agent  
0 rated :

Hi Luke,

What if you change your onMeta syntax a little bit to:

jwplayer().onMeta(function(event) {
console.log(event.metadata);
});

Does it work now?

lukasz.wnek

User  
0 rated :

Sorry for the confusion - the example is written in coffeescript. After compiling it to JS, it looks exactly like your code and it's not working.

Todd

JW Player Support Agent  
0 rated :

Do you have a publicly-available stream with the ID3 data embedded?

This question has received the maximum number of answers.