Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: inject custom metadata into mp4 live stream so wowza can read it

  1. #1

    Default inject custom metadata into mp4 live stream so wowza can read it


    We are currently sending an mp4 live stream via FMLE to the wowza server and everythings great.
    We would like to send some custom metadata in the stream on the fly, I realize FMLE may not be the right tool for this, are there any pointers on how to do this with another tool perhaps ?
    We want to use this for dynamic midrolls.

    Say a livestream is going on , we want to decide (on the fly) lets play a commercial in 10 seconds. So we want to pass a custom metadata event, saying play ad in 10 seconds. We can write something custom in wowza to grab this from AMFData or something, but the main thing is how do we even send it to wowza in the first place.

    Thank you

  2. #2
    Join Date
    Dec 2007


    Take a look at this guide:

    Inject cuepoints for what you are doing instead of metadata.


  3. #3


    cool ill try that, thanks as always Richard for quick replies

  4. #4


    Hi Richard
    I have followed that post at
    it shows that it is embedding the custom metadata

    INFO server comment - CustomMetadata.injectMetaData: {MixedArray: param1: "custom1", param2: "arpancustomstuff"}

    The custom1 is what im passing to the stream to inject, arpancustomstuff is what im making up from the server module itself.
    I dont see any errors in wowza log, so i am assuming it is writing to the stream.

    When I try to look at the livestream, nothing shows though.
    What am I doing wrong ?

  5. #5
    Join Date
    Dec 2007


    You need to listen for that cuepoint, something like:

    // set up netstream for the callback on the live stream
    nsPlayClientObj:Object = new Object();
    nsPlayClientObj.custom1 = function(obj:Object):void
    nsPlay.client = nsPlayClientObj;

  6. #6


    im doing it in flowplayer.
    i have debug on and oncuepoint method, but i dont get anything
    Last edited by arpan_synapse; 08-21-2012 at 11:10 AM.

  7. #7


    got it to work, nevermind. i wasnt listening for that particular event client side, i was expecting oncuepoint to work which will not.
    thank you !

  8. #8


    this is working fine when i connect to the wowza server to view
    1) however it does not seem to propogate to the CDN (edgecast) using the push publish addon. is there a different way to write it on that?
    2) what can we do about HLS for this as well? Do I use the ID3 tags here?

    thank you
    Last edited by arpan_synapse; 08-21-2012 at 03:11 PM.

  9. #9
    Join Date
    Dec 2007


    Right, you can use that to convert these cuepoints to ID3 tags.

    If you are using IMediaStream.sendDirect() the cuepoint should be included with what is pushed to the CDN. I don't think there is any setting or property of PushPublisherRTMP necessary.


  10. #10


    I created the modules for converting to ID3tags but kinda confused on how to use them.
    how do we use these on a html5 video player for ios (not native).
    We can play the video via the playlist.m3u8 in a html5 player, not sure where to go from here.
    Any help is appreciated, thank you
    Last edited by arpan_synapse; 08-22-2012 at 12:24 PM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 03-11-2014, 02:30 PM
  2. 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
  3. Replies: 2
    Last Post: 12-19-2011, 03:00 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