Closed yogpstop closed 9 years ago
The change to WSMessage.java is not how we want to do the conversion; submit a pull with the first change and I'll accept it.
OK. I updated this pull request. But problem is not solved, so I'll create new pull request with better patch. Because if I send text message " test " from browser to red5, I got the text "test" in red5.
First, when we send text packet, the packet must contain UTF8 string. (WebSocketConnection.java fixes) Second, when recv text packet contains blank space at leading or trailing, it's removed at WSMessage. So I fixed it.