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'
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
Hi @The-Code-Monkey,
Could you please check this documentation, https://github.com/ant-media/Ant-Media-Server/wiki/WebRTC-WebSocket-Messaging-Details#check-webrtc-connected-with-pingpong
Thanks, Selim
I am sending the ping command through @SelimEmre and its not returning the pong command has this feature been removed??