ant-media/Ant-Media-Server

Websocket signaling ping/pong request

Stinkie opened this issue · 5 comments

In order to avoid websocket connection drop by network devices and to have a better check if connection is really alive we'd like to introduce 'ping' request. Simple response to it should be 'pong'

mekya commented

This is a simple client side to check connection is alive

currently if we send it - respose is smth like 'not supported method'. This is fine for now as it's basically the same. Reponding 'pong' is just more logical

@Stinkie how did you get it to do this as im getting the ws dropping out but it wont respond to me sending ping to it

I am sending the ping command through @SelimEmre and its not returning the pong command has this feature been removed??