Results 1 to 3 of 3

Thread: How to inject metadata into HLS live stream at a specific time?

  1. #1
    Join Date
    Feb 2015
    Posts
    27

    Default How to inject metadata into HLS live stream at a specific time?

    Hi there,

    I need to insert metadata into HLS live stream at a specific time, like "10.5s after the beginning". Now I know how to insert ID3 tags into it, but I cannot control the time. Is there any way to do this in Wowza?

    Thanks!
    Yorick

  2. #2
    Join Date
    Feb 2015
    Posts
    27

    Default

    Found an expedient way to achieve this: IMediaStream.timeCode. (and IMediaStream.videoTimeCode). This method returns the time relative to the beginning of this stream. For example, if I wanna insert metadata at 10.5s, I can call new Timer().schedule(metadataInjector(...), 10.5 * 1000 - currentStream.videoTimeCode()). I checked the output stream with DVBInspector and found the metadata was inserted roughly around 10.5s (with about 500ms' deviation).

    I'd appreciate it if someone could propose a more accurate way.

  3. #3

    Default

    Yorick, you might have a read through this forum post for an answer

    Salvadore

Similar Threads

  1. Replies: 1
    Last Post: 03-31-2015, 11:53 AM
  2. Replies: 5
    Last Post: 03-11-2014, 02:30 PM
  3. Inject ID3/MetaData into Audio only Streams and maintain metadata throughout restream
    By brandone1 in forum Wowza Streaming Engine functionality
    Replies: 0
    Last Post: 08-15-2013, 01:17 PM
  4. inject custom metadata into mp4 live stream so wowza can read it
    By arpan_synapse in forum Live Streaming and Encoder Discussion
    Replies: 11
    Last Post: 08-24-2012, 02:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •