Create PHP/Java script to create stream on live

Hello,

I’m still new with wowza, and I’m trying to figure out how to use Wowza Streaming Engine 4.1.0, I wanted to know if with the actual server-side API can create stream, on live, for example :

I go on a website, I enter a rtmp url (or udp, …), and the “server-side” script plublish the stream automatically.

I saw this tutorial : http://thewowza.guru/application-http-provider-manager/ that seems to respond to my demand but it create/modify the stream files used by wowza.

My question : is there any other option to do the same ,automatically, without opening/closing/editing .stream file ?

Thanks,

BadHash

Hello there.

If your clients are RTMP and/or RTSP you would just need to set your stream type to “rtp-live”. When using the “rtp-live” stream type in your application’s configuration file, the source stream will be published to Wowza only when the first client connects to the stream

For HTTP streams to be active, the data packets need to be packetized. Wowza will start packetizing the HTTP stream as soon as the stream is published. The stream is not published if there isn’t at least one client requesting the stream. So basically, an HTTP client can not be the first to request the rtp-live stream. Once the stream has been published by an RTMP client, HTTP clients can connect.

If you are looking for something more robust, you might consider posting a request to the find a consultant forum. Someone there may have built something similar or be able to assist you.

I hope you find this helpful.

Kind regards.

Salvadore