Server timestamp as ID3 to JWplayer client?

Cheers!

I’ve been trying to solve this problem for years now, and I’m sure someone already has :slight_smile:

How can I add the server timestamp (or any other information) as ID3 to all chunks (or some chunks every X seconds or so) of a live stream? JWplayer should be able to read them nowadays using onMeta.

I got as far as fiddling around with onFillChunkDataPacket, but if I understand it correctly, it only fires when there is data from the source. What I need is something that fires on each chunk regardless of “incoming data”.

Big thank you in advance if there is a solution for this!

BR,

Mikael

Hello,

Please take a look at the sample code available in the “How to convert onTextData events in a live or VOD stream to timed events (ID3 tags) in an Apple HLS stream” forum article.

You might find it useful.

Zoran

Hello,

Please take a look at the sample code available in the “How to convert onTextData events in a live or VOD stream to timed events (ID3 tags) in an Apple HLS stream” forum article.

You might find it useful.

Zoran

Cheers,

I did, and I think I got a working version compiled using the sample. BUT: how do I generate the onTextData events? Let’s say I’m streaming a live event and want to signal a new slide by sending the new slide’s ID using onTextData? How should I generate that event from the web app that is running on a server somewhere far away?

BR,

Mikael

Ok cool. This seems to be exactly what I’m looking for! I’ll give it a try. Thank you!

Hi,

You can download a package that includes an example module (ModulePublishOnTextData) that injects onTextData events into a live stream. You can take a look at the Publishing onTextData section of the “How to configure closed captioning for live streaming” forum article.

Zoran

Hi,

Great. Please do keep us updated of your progress as other Wowza users might also benefit from your current experience.

Zoran

mglonnro,

Were you able to get this working? As far as I was told by Jwplayer, it cannot read id3 tags from a video source. It can neither read metadata on Android. Not sure about JW7 released 3 days ago but it seems the same.

Regards

Inderjeet

@swexpert - I have had success reading ID3 tags from HLS using JW7 - HOWEVER, this only works using the Flash provider. This means you’ll only be able read the data on desktops with flash enabled. You will need to set “primary: ‘flash’” in your JW setup config in order to force it to use Flash for this purpose.

ID3 tags can also be read from a native iOS app by listening for “timed metadata” and we’ve had success on native Android using the ExoPlayer.

However, mobile browsers other than Safari on iOS do not appear to detect/expose ID3 metadata.

Thank you so much Chrisdeely! I’m aware about flash part, it works via custom Flash application/player too. But thanks fo the tip about ExoPlayer. We’ll do some further digging and see if something can be churned up.

Thanks again for your assistance.

Sincerely,

Inderjeet

@swexpert - I have had success reading ID3 tags from HLS using JW7 - HOWEVER, this only works using the Flash provider. This means you’ll only be able read the data on desktops with flash enabled. You will need to set “primary: ‘flash’” in your JW setup config in order to force it to use Flash for this purpose.

ID3 tags can also be read from a native iOS app by listening for “timed metadata” and we’ve had success on native Android using the ExoPlayer.

However, mobile browsers other than Safari on iOS do not appear to detect/expose ID3 metadata.