Limiting Stream Time in wowza

We are using Wowza Media Server 2 to stream live views from IP cameras to our clients.

Clients are browser based clients accessing over the internet. We are using Wowza over EC2 to do this.

We want to know if there is any way in Wowza to limit the maximum time a client can view the live stream from a camera in one session.

For example – if he has seen the live view for 5 minutes continuously, timeout and stop the stream.

The stream should be stopped both between Wowza to the client and between the camera to Wowza.

We’re not worried too much about the communication between the client and Wowza.

However, Is there any way to stop Wowza from pulling the origin stream from the camera after a certain maximum time ?

Is there any parameter / configuration setting to do this ? What is the recommended way of achieving this ?

If you stop pulling from the origin, no client will be able to connect to the edge. The edge pulls one stream from origin to repeat to many clients.

There is not a built-in way to limit by time in any way. You would have to start a timer somewhere, perhaps IMediaStreamActionNotify3.onPlay

Richard

Hi Ed,

Actually, there is something built-in now, a recent add: take a look at ModuleTimedDisconnect

Richard

Is this still the best option for limiting viewing time? If so, can you please provide info on how to implement.

Thanks for your help

Ed

If you stop pulling from the origin, no client will be able to connect to the edge. The edge pulls one stream from origin to repeat to many clients.

There is not a built-in way to limit by time in any way. You would have to start a timer somewhere, perhaps IMediaStreamActionNotify3.onPlay

Richard