Wowza Community

Stream create,update,delete in php without using REST API

I am trying to implement wowza api.

I have found a REST API for that.

But I need to implement it using simple curl request.

Please provide me possible parameter list to be passed to curl api for ctreation,updation and deletion of stream

You will have to use the REST API to do that. You can use curl to send requests to the API or you can use the PHP wrapper Wowza provides (which is just an abstraction from sending curl requests).

There are examples to get you started here.

I am trying with

http://162.244.81.72:8087/v2/servers/defaultServer/publishers -d’ { “appName”: “live”, “password”: “123”, “name”: “mm”, “serverName”: “ppsource”, “description”: “”, “version”: “1446125518000” }’

and its responding as

{ “success”: false, “wowzaServer”: “4.7.4”, “message”: “The server encountered an unexpected condition which prevented it from fulfilling the request”, “code”: “500” }

Need to know what actually I have missed.

Would be greatful if I get parameters for stream create