Wowza Community

Start Streaming RTSP from Cam or App only when requested

I’m try to use the Wowza Streaming Engine for manage the Streaming RTSP caming from IP cams, but i want start the streaming only when a user click the JWplayer plugin in the Web Page, because on the TVCC site i think to streaming only one cam at time ! I’m looking for the setup for the App Virtual Host ecc …

Hello there and welcome to the Wowza support forum.

If your clients are RTMP and/or RTSP you would just need to set your stream type to “rtp-live” in your Application.xml file. When using the “rtp-live” stream type, 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.

I hope this answers your question.

Salvadore