Results 1 to 4 of 4

Thread: API calling through php Script

  1. #1
    Join Date
    May 2014
    Posts
    4

    Default API calling through php Script

    Hello Guys,

    I am php Developer and i tried so many ways to get this xml through php-curl process.but haven't found proper solution so could you please let me know how do i call API in php such as on-demand video, audio,and IP-Cemera API directly through PHP Script.

    I have also tried HTTP provider but unable to call wowza's API directly.


    Thank you
    "Have a nice day ahead"

  2. #2

    Default

    Hi there,
    Can you reach your Wowza server in a remote browser at this address:

    http://[wowza-address]:1935

    You see Wowza version and build displayed in the browser. If not, and if Wowza is running, then you probably need to open TCP port 1935 on that server and/or map port 1935 to your Wowza server in your network, for example port-forwarding if a router.
    www.portforward.com is a helpful resource.

    Salvadore

  3. #3
    Join Date
    May 2014
    Posts
    4

    Default

    Hello Salvadore,

    I have configured wowza with my local IP and i have found html like this :

    <html>
    <head>
    <title>Wowza Streaming Engine 4 Trial Edition (Expires: Nov 24, 2014) 4.0.3 build10989</title>
    </head>
    <body>Wowza Streaming Engine 4 Trial Edition (Expires: Nov 24, 2014) 4.0.3 build10989</body>
    </html>

    when i used with remote Server access. I am not bit familar i want to make an application through php webservices for getting all on demanad ,IP-cemera and traffic monitoring API's which is provided through wowza Server

    Could you please help me how can i make an application like that. so i can directly access all those api through remote url

    Thank You for Your Support
    "Have a nice day"

  4. #4
    Join Date
    May 2013
    Posts
    680

    Default

    You can "make an application" on demand by creating the appropriate folders and configuration file in applications/ and conf/ respectively. If you are looking to automate that, you could create an HTTP Provider to complete these operations (create folders etc) and then query it via your PHP script (i.e. http://[your-wowza-ip]:8086/customprovider?app=[appname]&streamtype=[stream-type]). As this will involve some custom code, we can provide you a consultants list if you make that request to our support@wowza.com email.

    If you are looking to obtain information regarding various streams, we have he built-in HTTP Providers that provide XML output of published streams and connections that you could parse the results.

    You'll notice the following urls for the providers:
    http://[wowza-ip-address]:8086/serverinfo 
    http://[wowza-ip-address]:8086/connectioncounts 
    http://[wowza-ip-address]:8086/connectioninfo
    If you'd like to extend these providers (for additional information), you can by downloading and modifying the source.
    Last edited by matt_y; 05-30-2014 at 03:20 AM.

Similar Threads

  1. PHP Script Broadcast Video
    By EstevenRG in forum Integrating Wowza into your workflow
    Replies: 2
    Last Post: 06-13-2014, 11:04 PM
  2. PHP Script Web Cast [Consultation]
    By EstevenRG in forum General Forum
    Replies: 1
    Last Post: 06-09-2014, 08:27 AM
  3. Dynamically calling startMediaCasterStream() API
    By nitinkaplan in forum Server-side Modules and Code Samples Discussion
    Replies: 2
    Last Post: 06-04-2012, 11:42 AM
  4. Run PHP script when stream starts
    By TheShadow92 in forum AddOn: Other AddOns
    Replies: 3
    Last Post: 04-03-2012, 10:46 AM

Posting Permissions

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