Skip to main content
November 17, 2009
Question

Getting a Stream Name on Play

  • November 17, 2009
  • 2 replies
  • 771 views

Hey everyone,

Using SSAS on FMS3.5, is there a way to get the stream name of a play event?  In my case, I am trying to run additional steps when a stream is played and I need the stream name to do so.

Thanks in advance!

-Tommy.

    This topic has been closed for replies.

    2 replies

    Known Participant
    June 15, 2010

    anyone got solution for this problem

    digging almost 6 hours to get stream.name which must be played.

    November 18, 2009

    Hi,

    You can use the Stream.name property on the stream object in your server-side script.

    Thanks

    Mamata

    Participant
    November 18, 2009

    Maybe I should have been clearer.  I'm trying to get the Stream Object that is being played.

    I know I can get the name from Stream.name, but when the server gets a request to play a stream, how do I get that stream object?

    I know that this is not the code for it, but I'm looking to accomplish something like:

    Stream.prototype.onStatus = function (info) {

      if (info.code == "Stream.play") {

        trace("stream.name = " + this.name);

      }

    };