Wowza Community

Trying to use MediaCaster auto start/stop of stream based on player request

I read here: https://www.wowza.com/docs/how-to-mediacaster-api-to-start-native-rtp-and-mpeg-ts-streams, that

“When using the rtp-live and rtp-live-record stream types, Native RTP and MPEG-TS streams are started and stopped on demand based on client’s viewing the stream. The publishing process is started the first time a client tries to view a stream and stops 60 seconds after the last client has stopped viewing the stream”.

I am using Wowza Stream Manager to manually add a stream.

For example: stream name : ‘test.stream’, which contains link: 'rtsp://localhost:2222/ch1".

However, I need to ‘start’ the stream, before a player can connect to it.

But I want to do this in automated way: that the stream is automatically started when a player connects to stream, and stopped after last player disconnects, automatically.

This way, I will be reducing load on server.

Can anyone suggest how to get this working?

bump : need to be clear on this: does Media Caster starts working automatically after we ‘connect’ to a stream, or do we need to implement this in some other way?

Please clear…

Napoli vs Real Madrid Live