Wowza Community

Can I get pingTimeout event?

Hi,

On our service, iOS client app streams rtmp to wowza server, but sometimes the stream is disconnected and ‘pingtimeout’ error is logged on wowza server.

I want to detect the pingtimeout event as soon as possible and notify it to application server.

How to do this?

I found an onDisconnect event listener but it has some delay after pingtimeout.

ValidationFrequency param relate to the delay?

Regards.

For rtmp, onDisconnect should be soon after any pingTimeout.

For HLS there is little you can do about the delay. Except have smaller chunks with smaller key frame intervals and cupertinoChunkDurationTarget.

There is not a pingTimeout listener as far as I know.

Regards,

Salvadore