I have created a websocket server by referring to this tutorial https://www.wowza.com/docs/how-to-create-a-websocket-server
When a client closes a websocket, I don’t seem to have a way to get the webscoket closed code or reason in onDestry method in WebSocketEventNotify listener?
I do see in the wowza server log file has logging info like this:
comment server INFO 200 - WebSocketSession.destroy: source:client status:-1 description:Unknown
How or where can I get the websocket closed cod,string, reason ?