Results 1 to 5 of 5

Thread: A way to find the server start time in PHP

  1. #1

    Default A way to find the server start time in PHP

    I hope this is the correct topic to post this question.

    We are using version 4.0.4. of Wowza Streaming Engine and I am wondering if there is any way we can get the server start time so we can use it in PHP script. Searched a little about this but found nothing which could help.

    So, is there any possibility to get this info by API or other method?

  2. Default

    You could use http://server:8086/serverinfo and parse WowzaStreamingEngine/VHost/TimeRunning; it gives you the number of seconds the VHost has been running, which is more or less the same as how long the Server has been running. Alternatively, you could develop a custom module that pulls the required information via the API.

  3. #3


    Thanks for your answer. It seems exactly what we need, but, I only have one more question. How shall we send the login credentials for http://server:8086/serverinfo?
    A login is required in order to be able to access the info.

  4. Default

    The credentials are stored in /conf/admin.password - or you can use the Engine Manager's user management (under Server > Users) to manage this. If you look at conf/VHost.xml at the definition of the admin hostport, you'll see a HttpProvider with RequestFilter "serverinfo*" and its AuthenticationMethod is "admin-digest". That's for DIGEST authentication; you can change it to "admin-basic" for BASIC authentication, or to "none" for no authentication at all.

  5. #5


    Thanks. It helps us a lot!

Similar Threads

  1. Start, stop, restart Wowza with PHP
    By kleelof in forum General Forum
    Replies: 2
    Last Post: 05-03-2014, 11:50 PM
  2. start time of the first .ts file is 10, but not 0, why?
    By Vincent Chan in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 12-10-2013, 03:43 PM
  3. HTTP streammanager start stop streamaction php woza API
    By miguelpalacios in forum General Forum
    Replies: 1
    Last Post: 05-26-2013, 04:55 PM
  4. PHP and Wowza to start recording a live stream
    By quickalin in forum General Forum
    Replies: 6
    Last Post: 05-08-2013, 11:16 AM
  5. Start/Stop Livestream recording PHP
    By oomworld in forum General Forum
    Replies: 7
    Last Post: 04-12-2013, 01:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts