Skip to main content
Participant
February 21, 2010
Question

Text On Live Video Stream

  • February 21, 2010
  • 2 replies
  • 703 views

Hi,

Please does anyone know if it is possible to place or insert text on live video stream using the FMS?

Whether with any solution or plugin.Please help if you got this working.

I am a web radio broadcaster and would like to have information on the screen like the station's phone number instead of having to keep reading it out all the time.

Thank you.

    This topic has been closed for replies.

    2 replies

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    February 22, 2010

    Hi,

    The detailed information on inserting metadata on live stream is documented in "flashmediaserver_3.5_dev_guide.pdf", under section 'Adding metadata to a live stream'. Check for this document under "$Root\Flash Media Server\documentation".

    Regards,

    Janaki L

    Participating Frequently
    February 22, 2010

    You can do it by injecting text using NetStream.send or Stream.send method. It depends on how are you publishing your stream but its very much possible.

    Basically you just need to define a handler on client side which will get triggered when it encounters the text.

    SO workflow would basically be like this:

    Publihser publishes to your FMS or you play pre-recored file as FMS(which has text inserted at time of recording)

    The text is injected in following format :-

    Stream.send("displayText","Station Number:12341234")

    Client end: There should be handler defined named

    NetStream.displayText = function(txtString){

    trace("txtString:"+txtString);

    }

    This is just rough example - do let me know if you want any more info.