Copy link to clipboard
Copied
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);
}