Skip to main content
Participant
July 18, 2013
Question

How do I log stream start from server side script

  • July 18, 2013
  • 0 replies
  • 326 views

The following code works with clients that call getStreamLength. The newest JW player does not, how do I get hold of the streamname when the client does not call getStreamLength?

application.onConnect = function(client)

{

          trace("LogStart 1 for " + client.streamname + " name " + client.id)

    client.getStreamLength = function( streamName ) {

                    LogStart(streamName,this.id, this.ip,'');

                    return Stream.length( streamName );

    }

          this.acceptConnection(client);

}

This topic has been closed for replies.