• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How do I log stream start from server side script

New Here ,
Jul 18, 2013 Jul 18, 2013

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);

}

Views

307

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines