I’d like to be able to sync events to a live streams in Safari on ipad. For example, I’d like to be able to display real time closed captions that are being piped in to my Wowza app. For flash clients this is easy, but I’m not finding a clear way to do it for ipad.
From what I’ve found so far, there is no javascript analog to the native app timedMetaData event, so it seems that I can’t do it with id3 tags. So, my thinking is that I’ll need to go the route of an HTTProvider that pulls the caption data out of the app instance, and then long poll the HTTProvider on an interval from the client side.
The trouble I run into there is the varied delay any given HLS client might be experiencing. Is there a way for me to gauge what the delay is for a given client? Even better, is there a javascript event in safari that I haven’t found?
In the end, I can tolerate a few seconds of skew in the sync (I could live with 5-10 seconds)… I just need to find a way of managing it consistently.
Thanks,
Jay