Control maximum time of a live broadcast

Hey,

Is there any way I can control the maximum time a client can broadcast for a specific stream name ?

I have looked into the following:

https://www.wowza.com/forums/showthread.php?33965-Control-live-record-by-limiting-duration-of-streaming-video

But those only cover limiting recording. What I need to achieve is to disconnect the live broadcaster after 4 min of successful publishing.

Any help is appreciated.

Joarley

Take a look at this guide to see if it meets your needs:

How to disconnect connected clients after a specified time period (TimedDisconnect)

The source code is made available on GitHub(bottom of the guide: For Developers) if you wish to modify the functionality.

Regards,

Salvadore